public abstract class ShortcutListener extends ShortcutAction implements Action.Listener
ShortcutAction.KeyCode, ShortcutAction.ModifierKeyAction.Container, Action.Handler, Action.Listener, Action.Notifier, Action.ShortcutNotifierSHORTHAND_CHAR_ALT, SHORTHAND_CHAR_CTRL, SHORTHAND_CHAR_SHIFT| Constructor and 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) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
handleAction(Object sender,
Object target) |
getKeyCode, getModifiersgetCaption, getIcon, setCaption, setIconpublic ShortcutListener(String caption, int keyCode, int... modifierKeys)
public ShortcutListener(String shorthandCaption, int... modifierKeys)
public ShortcutListener(String caption, Resource icon, int keyCode, int... modifierKeys)
public ShortcutListener(String shorthandCaption)
public abstract void handleAction(Object sender, Object target)
handleAction in interface Action.ListenerCopyright © 2018 Vaadin Ltd. All rights reserved.