buoy.event
Class KeyReleasedEvent
- WidgetEvent
public class KeyReleasedEvent
This is an event corresponding to a key on the keyboard being released.
KeyReleasedEvent
public KeyReleasedEvent(Widget source,
long when,
int modifiers,
int keyCode)
Create a KeyReleasedEvent.
source
- the Widget which generated this eventwhen
- the time at which the event occurredmodifiers
- describes the state of various keys and buttons at the time when the event occurred
(a sum of the constants defined by InputEvent)keyCode
- specifies which key on the keyboard generated the event. This should be one of
the VK_ constants.
Written by Peter Eastman.