Package de.gurkenlabs.litiengine.input
Interface IMouse.MouseDraggedListener
- All Superinterfaces:
EventListener
- Enclosing interface:
IMouse
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This listener interface receives dragged events for the mouse.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidmouseDragged(MouseEvent event) Invoked when a mouse button is pressed on the game window and then dragged.
-
Method Details
-
mouseDragged
Invoked when a mouse button is pressed on the game window and then dragged.MOUSE_DRAGGEDevents will continue to be delivered to the component where the drag originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).Due to platform-dependent Drag&Drop implementations,
MOUSE_DRAGGEDevents may not be delivered during a native Drag&Drop operation.- Parameters:
event- The mouse event.
-