Package heronarts.glx.ui
Interface UI2dComponent.UIDropTarget
- All Known Implementing Classes:
UIDeviceBin,UIDeviceBin.UIPatternBin
- Enclosing class:
UI2dComponent
public static interface UI2dComponent.UIDropTarget
Marker interface for components that can receive a drag+dropped element
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidonDrop(UI2dComponent.UIDropTarget.DropAction action, UIObject object, float mx, float my) Another element has been dropped onto this one
-
Method Details
-
onDrop
Another element has been dropped onto this one- Parameters:
action- Drop actionobject- UIObject dropped heremx- x-coordinate of drop, in receiver's boundsmy- y-coordinate of drop, in receiver's bounds
-