Package de.gurkenlabs.litiengine.input
Interface IMouse.MouseDraggedListener
- All Superinterfaces:
java.util.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.
@FunctionalInterface
public static interface IMouse.MouseDraggedListener
extends java.util.EventListener
This listener interface receives dragged events for the mouse.
Method Summary
Modifier and Type Method Description void
mouseDragged(java.awt.event.MouseEvent event)
Invoked when a mouse button is pressed on the game window and then dragged.
Method Details
mouseDragged
void mouseDragged(java.awt.event.MouseEvent event)Invoked when a mouse button is pressed on the game window and then dragged.MOUSE_DRAGGED
events 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_DRAGGED
events may not be delivered during a native Drag&Drop operation.- Parameters:
event
- The mouse event.