buoy.event

Class MouseReleasedEvent

Implemented Interfaces:
WidgetEvent

public class MouseReleasedEvent
extends WidgetMouseEvent

This is an event corresponding to the mouse button being released.
Author:
Peter Eastman

Constructor Summary

MouseReleasedEvent(Widget source, long when, int modifiers, int x, int y, int clickCount, boolean popupTrigger, int button)
Create a MouseReleasedEvent.

Method Summary

Methods inherited from class buoy.event.WidgetMouseEvent

getSource, getWidget

Constructor Details

MouseReleasedEvent

public MouseReleasedEvent(Widget source,
                          long when,
                          int modifiers,
                          int x,
                          int y,
                          int clickCount,
                          boolean popupTrigger,
                          int button)
Create a MouseReleasedEvent.
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)
x - the x coordinate at which the event occurred
y - the y coordinate at which the event occurred
clickCount - the number of successive times the mouse has been clicked
popupTrigger - true if this event corresponds to the platform-specific trigger for displaying popup menus
button - the flag for the button which has just changed state

Written by Peter Eastman.