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
  • Method Details

    • onDrop

      void onDrop(UI2dComponent.UIDropTarget.DropAction action, UIObject object, float mx, float my)
      Another element has been dropped onto this one
      Parameters:
      action - Drop action
      object - UIObject dropped here
      mx - x-coordinate of drop, in receiver's bounds
      my - y-coordinate of drop, in receiver's bounds