Package com.vaadin.event
Class ShortcutListener
- java.lang.Object
-
- com.vaadin.event.Action
-
- com.vaadin.event.ShortcutAction
-
- com.vaadin.event.ShortcutListener
-
- All Implemented Interfaces:
Action.Listener,java.io.Serializable
- Direct Known Subclasses:
Button.ClickShortcut,FocusShortcut,Window.CloseShortcut
public abstract class ShortcutListener extends ShortcutAction implements Action.Listener
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.event.ShortcutAction
ShortcutAction.KeyCode, ShortcutAction.ModifierKey
-
Nested classes/interfaces inherited from class com.vaadin.event.Action
Action.Container, Action.Handler, Action.Listener, Action.Notifier, Action.ShortcutNotifier
-
-
Field Summary
-
Fields inherited from class com.vaadin.event.ShortcutAction
SHORTHAND_CHAR_ALT, SHORTHAND_CHAR_CTRL, SHORTHAND_CHAR_SHIFT
-
-
Constructor Summary
Constructors Constructor Description ShortcutListener(java.lang.String shorthandCaption)ShortcutListener(java.lang.String shorthandCaption, int... modifierKeys)ShortcutListener(java.lang.String caption, int keyCode, int... modifierKeys)ShortcutListener(java.lang.String caption, Resource icon, int keyCode, int... modifierKeys)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidhandleAction(java.lang.Object sender, java.lang.Object target)-
Methods inherited from class com.vaadin.event.ShortcutAction
getKeyCode, getModifiers
-
Methods inherited from class com.vaadin.event.Action
getCaption, getIcon, setCaption, setIcon
-
-
-
-
Constructor Detail
-
ShortcutListener
public ShortcutListener(java.lang.String caption, int keyCode, int... modifierKeys)
-
ShortcutListener
public ShortcutListener(java.lang.String shorthandCaption, int... modifierKeys)
-
ShortcutListener
public ShortcutListener(java.lang.String caption, Resource icon, int keyCode, int... modifierKeys)
-
ShortcutListener
public ShortcutListener(java.lang.String shorthandCaption)
-
-
Method Detail
-
handleAction
public abstract void handleAction(java.lang.Object sender, java.lang.Object target)- Specified by:
handleActionin interfaceAction.Listener
-
-