buoy.event
Class MouseDraggedEvent
- WidgetEvent
public class MouseDraggedEvent
This is an event corresponding to the mouse being dragged inside a Widget.
MouseDraggedEvent
public MouseDraggedEvent(Widget source,
long when,
int modifiers,
int x,
int y) Create a MouseDraggedEvent.
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)x - the x coordinate at which the event occurredy - the y coordinate at which the event occurred
Written by Peter Eastman.