Package com.vaadin.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 focusableComponentConnectorimplementing 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonBeforeShortcutAction(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.client.ComponentConnector
delegateCaptionHandling, flush, getLayoutManager, getState, getTooltipInfo, getWidget, hasTooltip, isReadOnly, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled
-
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
-
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, updateEnabledState
-
-
-
-
Method Detail
-
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
-
-