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,Serializable
- Direct Known Subclasses:
AbstractField.FocusShortcut,Button.ClickShortcut,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(String shorthandCaption)ShortcutListener(String shorthandCaption, int... modifierKeys)ShortcutListener(String caption, int keyCode, int... modifierKeys)ShortcutListener(String caption, Resource icon, int keyCode, int... modifierKeys)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidhandleAction(Object sender, Object target)-
Methods inherited from class com.vaadin.event.ShortcutAction
getKeyCode, getModifiers
-
Methods inherited from class com.vaadin.event.Action
getCaption, getIcon, setCaption, setCaption, setIcon
-
-
-
-
Constructor Detail
-
ShortcutListener
public ShortcutListener(String caption, int keyCode, int... modifierKeys)
-
ShortcutListener
public ShortcutListener(String shorthandCaption, int... modifierKeys)
-
ShortcutListener
public ShortcutListener(String caption, Resource icon, int keyCode, int... modifierKeys)
-
ShortcutListener
public ShortcutListener(String shorthandCaption)
-
-
Method Detail
-
handleAction
public abstract void handleAction(Object sender, Object target)
- Specified by:
handleActionin interfaceAction.Listener
-
-