com.vaadin.terminal.gwt.client.ui
Interface ShortcutActionHandler.BeforeShortcutActionListener
- All Superinterfaces:
- ComponentConnector, Connector, Serializable, ServerConnector
- All Known Implementing Classes:
- PasswordFieldConnector, RichTextAreaConnector, TextAreaConnector, TextFieldConnector, WindowConnector
- Enclosing class:
- ShortcutActionHandler
public static interface ShortcutActionHandler.BeforeShortcutActionListener
- extends ComponentConnector
A focusable ComponentConnector
implementing this interface will
be notified before shortcut actions are handled if it will be the target
of the action (most commonly means it is the focused component during the
keyboard combination is triggered by the user).
Method Summary |
void |
onBeforeShortcutAction(com.google.gwt.user.client.Event e)
This method is called by ShortcutActionHandler before firing the
shortcut if the Paintable is currently focused (aka the target of the
shortcut action). |
Methods inherited from interface com.vaadin.terminal.gwt.client.ComponentConnector |
delegateCaptionHandling, getLayoutManager, getState, getTooltipInfo, getWidget, hasEventListener, isReadOnly, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled |
Methods inherited from interface com.vaadin.terminal.gwt.client.ServerConnector |
addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, isEnabled, onUnregister, setChildren, setParent, updateEnabledState |
onBeforeShortcutAction
void onBeforeShortcutAction(com.google.gwt.user.client.Event e)
- This method is called by ShortcutActionHandler before firing the
shortcut if the Paintable is currently focused (aka the target of the
shortcut action). Eg. a field can update its possibly changed value
to the server before shortcut action is fired.
- Parameters:
e
- the event that triggered the shortcut action
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.