public abstract class CmsOkCancelActionHandler extends java.lang.Object implements com.vaadin.event.Action.Handler
Modifier and Type | Field and Description |
---|---|
protected static com.vaadin.event.ShortcutAction |
ENTER_ACTION
The enter action.
|
protected static com.vaadin.event.ShortcutAction |
ESC_ACTION
The escape action.
|
Constructor and Description |
---|
CmsOkCancelActionHandler() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
cancel()
Called on key press 'Esc'.
|
com.vaadin.event.Action[] |
getActions(java.lang.Object target,
java.lang.Object sender) |
void |
handleAction(com.vaadin.event.Action action,
java.lang.Object sender,
java.lang.Object target) |
protected abstract void |
ok()
Called on key press 'Enter'.
|
protected static final com.vaadin.event.ShortcutAction ENTER_ACTION
protected static final com.vaadin.event.ShortcutAction ESC_ACTION
public CmsOkCancelActionHandler()
public com.vaadin.event.Action[] getActions(java.lang.Object target, java.lang.Object sender)
getActions
in interface com.vaadin.event.Action.Handler
Action.Handler.getActions(java.lang.Object, java.lang.Object)
public void handleAction(com.vaadin.event.Action action, java.lang.Object sender, java.lang.Object target)
handleAction
in interface com.vaadin.event.Action.Handler
Action.Handler.handleAction(com.vaadin.event.Action, java.lang.Object, java.lang.Object)
protected abstract void cancel()
protected abstract void ok()