- All Superinterfaces:
- Enclosing interface:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface IMouse.MouseDraggedListener extends java.util.EventListener
This listener interface receives dragged events for the mouse.
Modifier and Type Method Description
mouseDragged(java.awt.event.MouseEvent event)Invoked when a mouse button is pressed on the game window and then dragged.
- void mouseDragged(java.awt.event.MouseEvent event)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.
event- The mouse event.