buoy.event

Class KeyReleasedEvent

Implemented Interfaces:
WidgetEvent

public class KeyReleasedEvent
extends WidgetKeyEvent

This is an event corresponding to a key on the keyboard being released.
Author:
Peter Eastman

Constructor Summary

KeyReleasedEvent(Widget source, long when, int modifiers, int keyCode)
Create a KeyReleasedEvent.

Method Summary

Methods inherited from class buoy.event.WidgetKeyEvent

getSource, getWidget

Constructor Details

KeyReleasedEvent

public KeyReleasedEvent(Widget source,
                        long when,
                        int modifiers,
                        int keyCode)
Create a KeyReleasedEvent.
Parameters:
source - the Widget which generated this event
when - the time at which the event occurred
modifiers - 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.