| com.google.gwt.user.client.ui.KeyboardListenerCollection
All known Subclasses: com.google.gwt.user.client.ui.DelegatingKeyboardListenerCollection,
Method Summary | |
public void | fireKeyDown(Widget sender, char keyCode, int modifiers) Fires a keyDown event to all listeners.
Parameters: sender - the widget sending the event. Parameters: keyCode - the keyCode to send with the event. Parameters: modifiers - the modifier keys pressed at when the event occurred. | public void | fireKeyPress(Widget sender, char key, int modifiers) Fires a keyDown event to all listeners.
Parameters: sender - the widget sending the event. Parameters: key - the key to send with the event. Parameters: modifiers - the modifier keys pressed at when the event occurred. | public void | fireKeyUp(Widget sender, char keyCode, int modifiers) Fires a keyDown event to all listeners.
Parameters: sender - the widget sending the event. Parameters: keyCode - the keyCode to send with the event. Parameters: modifiers - the modifier keys pressed at when the event occurred. | public void | fireKeyboardEvent(Widget sender, Event event) Automatically fires the appropriate keyboard event to all listeners. | public static int | getKeyboardModifiers(Event event) Gets the keyboard modifiers associated with a DOMEvent.
Parameters: event - the event. |
fireKeyboardEvent | public void fireKeyboardEvent(Widget sender, Event event)(Code) | | Automatically fires the appropriate keyboard event to all listeners. If the
given event is not a keyboard event, no action will be performed.
Parameters: sender - the widget sending the event. Parameters: event - the Event received by the widget. |
getKeyboardModifiers | public static int getKeyboardModifiers(Event event)(Code) | | Gets the keyboard modifiers associated with a DOMEvent.
Parameters: event - the event. the modifiers as defined in KeyboardListener. |
|
|