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)
| 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. |
no test coverage detected