be.lassi.ui.sheet.cells
Interface CellActionClient
- All Known Implementing Classes:
- LevelCell, SheetTable, SheetTableDetails, SheetTableHeaders
public interface CellActionClient
Defines the callback methods for a client class that uses
class CellAction
.
Method Summary |
javax.swing.ActionMap |
getActionMap()
|
javax.swing.InputMap |
getInputMap()
|
void |
keyAction(int actionId)
Performs the action that correspondes to the action key pressed. |
getActionMap
javax.swing.ActionMap getActionMap()
- Returns:
- The ActionMap of the client component.
getInputMap
javax.swing.InputMap getInputMap()
- Returns:
- The InputMap of the client component.
keyAction
void keyAction(int actionId)
- Performs the action that correspondes to the action key pressed.
- Parameters:
actionId
- Action to be performed (ACTION_ALT_UP,
ACTION_CTRL_UP, ACTION_SHIFT_UP, ACTION_ALT_DOWN,
ACTION_CTRL_DOWN or ACTION_SHIFT_DOWN).