Package docking.dnd

# Interface Droppable

All Known Implementing Classes:
  `FileOpenDropHandler`, `GhidraFileChooserPanel`

public interface Droppable
Methods called by the DropTargetAdapter that implements the DropTargetListener interface

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(Object obj, DropTargetDropEvent e, DataFlavor f)`
  Add the object to the droppable component.
  `void`
  `dragUnderFeedback(boolean ok, DropTargetDragEvent e)`
  Set drag feedback according to the ok parameter
  `boolean`
  `isDropOk(DropTargetDragEvent e)`
  Return true if is OK to drop the transferable at the location specified the event
  `void`
  `undoDragUnderFeedback()`
  Revert back to normal if any drag feedback was set

- ## Method Details

  - ### isDropOk

    boolean isDropOk(DropTargetDragEvent e)
    Return true if is OK to drop the transferable at the location specified the event
    Parameters:
      `e` - event that has current state of drag and drop operation
    Returns:
      true if OK

  - ### dragUnderFeedback

    void dragUnderFeedback(boolean ok, DropTargetDragEvent e)
    Set drag feedback according to the ok parameter
    Parameters:
      `ok` - true means the drop action is OK
      `e` - event that has current state of drag and drop operation

  - ### undoDragUnderFeedback

    void undoDragUnderFeedback()
    Revert back to normal if any drag feedback was set

  - ### add

    void add(Object obj, DropTargetDropEvent e, DataFlavor f)
    Add the object to the droppable component. The DropTargetAdapter calls this method from its drop() method.
    Parameters:
      `obj` - Transferable object that is to be dropped.
      `e` - has current state of drop operation
      `f` - represents the opaque concept of a data format as would appear on a clipboard, during drag and drop.