public final class MouseMoveEvent extends Object implements IInputEvent, AutoCloseable
IInputEvent
.
This class contains the mouse location and the modifiers if any.
Constructor and Description |
---|
MouseMoveEvent(Coordinate location,
ModifierKeys modifierKeys)
Creates a move event for a mouse.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
Coordinate |
getLocation() |
ModifierKeys |
getModifierKeys() |
public MouseMoveEvent(@NotNull Coordinate location, @NotNull ModifierKeys modifierKeys)
location
- location The location of the event, defined in device independent pixels.modifierKeys
- The modifiers of the event.public void close()
close
in interface AutoCloseable
@NotNull public Coordinate getLocation()
@NotNull public ModifierKeys getModifierKeys()