JTree.DropLocation (Java SE 15 & JDK 15) (original) (raw)

Enclosing class:

JTree


public static final class JTree.DropLocation extends TransferHandler.DropLocation

A subclass of TransferHandler.DropLocation representing a drop location for a JTree.

Since:

1.6

See Also:

JTree.getDropLocation()

Modifier and Type Method Description
int getChildIndex() Returns the index where the dropped data should be inserted with respect to the path returned by getPath().
TreePath getPath() Returns the path where dropped data should be placed in the tree.
String toString() Returns a string representation of this drop location.