com.vaadin.terminal.gwt.client.ui
Interface ShortcutActionHandler.BeforeShortcutActionListener

All Superinterfaces:
Paintable
All Known Implementing Classes:
VPasswordField, VRichTextArea, VTextArea, VTextField, VWindow
Enclosing class:
ShortcutActionHandler

public static interface ShortcutActionHandler.BeforeShortcutActionListener
extends Paintable

A focusable Paintable 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.Paintable
updateFromUIDL
 

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


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