Package com.luciad.input.mouse
Class MouseMoveEvent
java.lang.Object
com.luciad.input.mouse.MouseMoveEvent
- All Implemented Interfaces:
IInputEvent
,AutoCloseable
Mouse movement dedicated implementation of the
IInputEvent
.
This class contains the mouse location and the modifiers if any.
-
Constructor Summary
ConstructorDescriptionMouseMoveEvent
(Coordinate location, ModifierKeys modifierKeys) Creates a move event for a mouse. -
Method Summary
-
Constructor Details
-
MouseMoveEvent
Creates a move event for a mouse.- Parameters:
location
- location The location of the event, defined in device independent pixels.modifierKeys
- The modifiers of the event.
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getLocation
Returns the position of the event.It is expressed in device independent pixel coordinates with top-left corner of the map being the (0,0) position.
- Returns:
- the position of the event.
-
getModifierKeys
Returns the modifiers of the event.- Returns:
- the modifiers of the event.
-