com.vaadin.event
Class ShortcutListener

java.lang.Object
  extended by com.vaadin.event.Action
      extended by com.vaadin.event.ShortcutAction
          extended by 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
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
abstract  void handleAction(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, setIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
handleAction in interface Action.Listener


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.