MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / setAnchorSelectionPath

Method setAnchorSelectionPath

unused/javax/swing/JTree.java:1695–1700  ·  view source on GitHub ↗

Sets the path identified as the anchor. The anchor is not maintained by JTree , rather the UI will update it. This is a bound property. @param newPath the new anchor path @since 1.3 @beaninfo bound: true description: Anchor selection path

(TreePath newPath)

Source from the content-addressed store, hash-verified

1693 * description: Anchor selection path
1694 */
1695 public void setAnchorSelectionPath(TreePath newPath) {
1696 TreePath oldValue = anchorPath;
1697
1698 anchorPath = newPath;
1699 firePropertyChange(ANCHOR_SELECTION_PATH_PROPERTY, oldValue, newPath);
1700 }
1701
1702 /**
1703 * Selects the node at the specified row in the display.

Callers 1

setDropLocationMethod · 0.95

Calls 1

firePropertyChangeMethod · 0.45

Tested by

no test coverage detected