Package docking.dnd

Class DragDropTreeTransferable

java.lang.Object
docking.dnd.DragDropTreeTransferable
All Implemented Interfaces:
ClipboardOwner, Transferable

public class DragDropTreeTransferable extends Object implements Transferable, ClipboardOwner
Defines data that is available for drag/drop and clipboard transfers. The data is an ArrayList of DragDropNode objects.
  • Field Details

    • localTreeNodeFlavor

      public static DataFlavor localTreeNodeFlavor
      A static instance of the local tree node flavor that is an ArrayList of DragDropNode objects.
  • Constructor Details

    • DragDropTreeTransferable

      public DragDropTreeTransferable(DragDropNode[] nodes)
      Constructs a new Transferable from the array of DragDropNodes
      Parameters:
      nodes - the array of DragDropNodes being transfered.
  • Method Details