Class JTree.DropLocation

Enclosing class:
JTree

public static final class JTree.DropLocation extends TransferHandler.DropLocation
Drop location for a JTree drop (D_jtree_row_dnd — emulator for javax.swing.JTree.DropLocation). getPath() is the target path; getChildIndex() is the insert index within the path's node (-1 for a drop on the node, DropMode.ON). The pixel drop point is a dummy (R_layouts_close_enough — no server-side coordinates).
  • Method Details

    • getPath

      public TreePath getPath()
    • getChildIndex

      public int getChildIndex()