@FunctionalInterface public interface MouseDragListener
| Modifier and Type | Method | Description |
|---|---|---|
void |
mouseDragLeft(MousePosition position,
MousePosition delta) |
Called when the mouse is dragged holding the left button.
|
default void |
mouseDragLeftReleased(MousePosition position) |
Called when the mouse left button is released.
|
default void |
mouseDragRight(MousePosition position,
MousePosition delta) |
Called when the mouse is dragged holding the right button.
|
default void |
mouseDragRightReleased(MousePosition position) |
Called when the mouse right button is released.
|
default void |
mouseDragWheel(MousePosition position,
MousePosition delta) |
Called when the mouse is dragged holding the wheel button.
|
void mouseDragLeft(MousePosition position, MousePosition delta)
position - Current mouse position.delta - Delta between the current and the last position.default void mouseDragRight(MousePosition position, MousePosition delta)
position - Current mouse position.delta - Delta between the current and the last position.default void mouseDragWheel(MousePosition position, MousePosition delta)
position - Current mouse position.delta - Delta between the current and the last position.default void mouseDragRightReleased(MousePosition position)
position - Current mouse position.default void mouseDragLeftReleased(MousePosition position)
position - Current mouse position.Copyright © 2014–2018. All rights reserved.