|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<H>
com.google.gwt.event.dom.client.DomEvent<H>
com.google.gwt.event.dom.client.KeyEvent<H>
com.google.gwt.event.dom.client.KeyCodeEvent<H>
H - handler typepublic abstract class KeyCodeEvent<H extends EventHandler>
Key up and key down are both events based upon a given key code.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.event.dom.client.DomEvent |
|---|
DomEvent.Type<H extends EventHandler> |
| Constructor Summary | |
|---|---|
KeyCodeEvent()
|
|
| Method Summary | |
|---|---|
int |
getNativeKeyCode()
Gets the native key code. |
static boolean |
isArrow(int keyCode)
Does the key code represent an arrow key? |
boolean |
isDownArrow()
Is this a key down arrow? |
boolean |
isLeftArrow()
Is this a left arrow? |
boolean |
isRightArrow()
Is this a right arrow? |
boolean |
isUpArrow()
Is this a up arrow? |
java.lang.String |
toDebugString()
This is a method used primarily for debugging. |
| Methods inherited from class com.google.gwt.event.dom.client.KeyEvent |
|---|
isAltKeyDown, isAnyModifierKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown |
| Methods inherited from class com.google.gwt.event.dom.client.DomEvent |
|---|
fireNativeEvent, fireNativeEvent, getAssociatedType, getNativeEvent, getRelativeElement, init, preventDefault, setNativeEvent, setRelativeElement, stopPropagation |
| Methods inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
assertLive, dispatch, getSource, isLive, kill, revive |
| Methods inherited from class com.google.web.bindery.event.shared.Event |
|---|
setSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeyCodeEvent()
| Method Detail |
|---|
public static boolean isArrow(int keyCode)
keyCode - the key code
public int getNativeKeyCode()
KeyCodes class.
public boolean isDownArrow()
public boolean isLeftArrow()
public boolean isRightArrow()
public boolean isUpArrow()
public java.lang.String toDebugString()
Event
toDebugString in class Event<H extends EventHandler>
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||