buoy.event

Class MouseDraggedEvent

Implemented Interfaces:
WidgetEvent

public class MouseDraggedEvent
extends WidgetMouseEvent

This is an event corresponding to the mouse being dragged inside a Widget.
Author:
Peter Eastman

Constructor Summary

MouseDraggedEvent(Widget source, long when, int modifiers, int x, int y)
Create a MouseDraggedEvent.

Method Summary

Methods inherited from class buoy.event.WidgetMouseEvent

getSource, getWidget

Constructor Details

MouseDraggedEvent

public MouseDraggedEvent(Widget source,
                         long when,
                         int modifiers,
                         int x,
                         int y)
Create a MouseDraggedEvent.
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

Written by Peter Eastman.