Package io.guise.framework.event
Class KeyReleaseEvent
java.lang.Object
java.util.EventObject
com.globalmentor.event.AbstractEvent
- All Implemented Interfaces:
com.globalmentor.event.Event
,FocusedInputEvent
,GestureInputEvent
,GuiseEvent
,InputEvent
,KeyboardEvent
,Serializable
An event providing information on a keyboard key release.
- Author:
- Garret Wilson
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionKeyReleaseEvent
(Object source, KeyReleaseEvent keyReleaseEvent) Copy constructor that specifies a different source.KeyReleaseEvent
(Object source, Key key, Key... keys) Source constructor. -
Method Summary
Methods inherited from class io.guise.framework.event.AbstractKeyboardEvent
getKey
Methods inherited from class io.guise.framework.event.AbstractGestureInputEvent
getKeys, hasAltKey, hasControlKey, hasShiftKey
Methods inherited from class io.guise.framework.event.AbstractInputEvent
consume, isConsumed
Methods inherited from class io.guise.framework.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.globalmentor.event.Event
getSource
Methods inherited from interface io.guise.framework.event.GestureInputEvent
getKeys, hasAltKey, hasControlKey, hasShiftKey
Methods inherited from interface io.guise.framework.event.GuiseEvent
getSession
Methods inherited from interface io.guise.framework.event.InputEvent
consume, isConsumed
-
Constructor Details
-
KeyReleaseEvent
Source constructor.- Parameters:
source
- The object on which the event initially occurred.key
- The key that was pressed.keys
- The keys that were pressed when this event was generated.- Throws:
NullPointerException
- if the given source, key, and/or keys isnull
.
-
KeyReleaseEvent
Copy constructor that specifies a different source.- Parameters:
source
- The object on which the event initially occurred.keyReleaseEvent
- The event the properties of which will be copied.- Throws:
NullPointerException
- if the given source, key, and/or event isnull
.
-
-
Method Details
-
getInput
- Returns:
- The input associated with this event, or
null
if there is no input associated with this event.
-