Interface MKCHandledScreen.DragMode
- Enclosing class:
MKCHandledScreen
public static interface MKCHandledScreen.DragMode
A custom drag behavior for MenuKit slots. The screen dispatches
drag events to the active mode. Only one mode is active at a time.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the mouse moves over a new slot during a drag.voidCalled when the mouse button is released, ending the drag.booleanonDragStart(MKCSlot slot, int button) Called when a drag starts on a MKCSlot.
-
Method Details
-
onDragEnd
void onDragEnd()Called when the mouse button is released, ending the drag.