Package com.luciad.input.mouse
Class MouseDragEvent
java.lang.Object
com.luciad.input.DragEvent
com.luciad.input.mouse.MouseDragEvent
- All Implemented Interfaces:
IInputEvent,AutoCloseable
Specialization of the
DragEvent for the mouse.
This class contains the mouse button and the modifiers if any.
-
Constructor Summary
ConstructorsConstructorDescriptionMouseDragEvent(Coordinate location, EventStatus status, Coordinate startLocation, ModifierKeys modifierKeys, MouseButton mouseButton) Create a drag event for a mouse. -
Method Summary
Methods inherited from class com.luciad.input.DragEvent
getLocation, getModifierKeys, getStartLocation, getStatus
-
Constructor Details
-
MouseDragEvent
public MouseDragEvent(@NotNull Coordinate location, @NotNull EventStatus status, @NotNull Coordinate startLocation, @NotNull ModifierKeys modifierKeys, @NotNull MouseButton mouseButton) Create a drag event for a mouse.- Parameters:
location- The current mouse location, defined in device independent pixels.status- The event status.startLocation- The mouse location of the first event for this gesture.modifierKeys- The modifiers of the event.mouseButton- The mouse button of the event.
-
-
Method Details