java.lang.Object | ||||
↳ | com.google.gwt.event.shared.GwtEvent<H extends com.google.gwt.event.shared.EventHandler> | |||
↳ | com.google.gwt.event.dom.client.DomEvent<H extends com.google.gwt.event.shared.EventHandler> | |||
↳ | com.google.gwt.event.dom.client.KeyEvent<H extends com.google.gwt.event.shared.EventHandler> | |||
↳ | com.google.gwt.event.dom.client.KeyCodeEvent<H extends com.google.gwt.event.shared.EventHandler> |
![]() |
Key up and key down are both events based upon a given key code.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the native key code.
| |||||||||||
Does the key code represent an arrow key?
| |||||||||||
Is this a key down arrow?
| |||||||||||
Is this a left arrow?
| |||||||||||
Is this a right arrow?
| |||||||||||
Is this a up arrow?
| |||||||||||
This is a method used primarily for debugging.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Gets the native key code. These key codes are enumerated in the
KeyCodes
class.
Does the key code represent an arrow key?
keyCode | the key code |
---|
Is this a key down arrow?
Is this a left arrow?
Is this a right arrow?
Is this a up arrow?
This is a method used primarily for debugging. It gives a string representation of the event details. This does not override the toString method because the compiler cannot always optimize toString out correctly. Event types should override as desired.