|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.globalmentor.event.AbstractEvent
com.guiseframework.event.AbstractGuiseEvent
com.guiseframework.event.AbstractInputEvent
com.guiseframework.event.AbstractGestureInputEvent
com.guiseframework.event.AbstractFocusedGestureInputEvent
com.guiseframework.event.AbstractKeyboardEvent
public abstract class AbstractKeyboardEvent
An abstract event providing information on a keyboard key event.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
AbstractKeyboardEvent(java.lang.Object source,
Key key,
Key... keys)
Source constructor. |
|
| Method Summary | |
|---|---|
Key |
getKey()
The key that was pressed. |
| Methods inherited from class com.guiseframework.event.AbstractGestureInputEvent |
|---|
getKeys, hasAltKey, hasControlKey, hasShiftKey |
| Methods inherited from class com.guiseframework.event.AbstractInputEvent |
|---|
consume, isConsumed |
| Methods inherited from class com.guiseframework.event.AbstractGuiseEvent |
|---|
getSession |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.event.KeyboardEvent |
|---|
getInput |
| Methods inherited from interface com.guiseframework.event.GestureInputEvent |
|---|
getKeys, hasAltKey, hasControlKey, hasShiftKey |
| Methods inherited from interface com.guiseframework.event.InputEvent |
|---|
consume, isConsumed |
| Methods inherited from interface com.guiseframework.event.GuiseEvent |
|---|
getSession |
| Methods inherited from interface com.globalmentor.event.Event |
|---|
getSource |
| Constructor Detail |
|---|
public AbstractKeyboardEvent(java.lang.Object source,
Key key,
Key... keys)
source - The object on which the event initially occurred.keys - The keys that were pressed when this event was generated.
java.lang.NullPointerException - if the given source, key, and/or keys is null.| Method Detail |
|---|
public Key getKey()
getKey in interface KeyboardEvent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||