Class KeyEditAction
java.lang.Object
org.eclipse.nebula.widgets.nattable.edit.action.KeyEditAction
- All Implemented Interfaces:
IKeyAction
Action that will execute an
EditSelectionCommand
. The cell(s) to edit
are determined using the SelectionLayer. Therefore this action will only work
if a SelectionLayer is in the NatTable layer composition.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Character
convertCharToCharacterObject
(org.eclipse.swt.events.KeyEvent event) void
-
Constructor Details
-
KeyEditAction
public KeyEditAction()
-
-
Method Details
-
run
- Specified by:
run
in interfaceIKeyAction
-
convertCharToCharacterObject
- Parameters:
event
- The KeyEvent that triggered the execution of this KeyEditAction.- Returns:
- The Character represented by the key that was typed in case it
was a letter or digit key, or
null
if it was a control (like F2) or other key.
-