Method getSelectionPath()
Return type:
javax.swing.tree.TreePath
Member of:
javax.swing.JTree
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
TreePath selPath = getSelectionPath();
2
access.deletePicture(access.getAlbumId(getSelectionPath()), name);
3
access.setPictureComment(access.getAlbumId(getSelectionPath()), name, comment);
4
updateInfoPanel(tree.getSelectionPath());
5
trFileTree.scrollPathToVisible( trFileTree.getSelectionPath() );
6
setFrameTitle(workspace.getSelectionPath());
7
DefaultMutableTreeNode currentNode = (DefaultMutableTreeNode)(tree.getSelectionPath().getLastPathComponent());
8
TreePath selectedPath = this.jTree.getSelectionPath();
9
(DefaultMutableTreeNode)tree.getSelectionPath().getLastPathComponent();
10
TreePath selection = jTreeDOM.getSelectionPath();
11
MTreeNode nd = (MTreeNode)tree.getSelectionPath().getLastPathComponent();
12
Object value = this.packageJTree.getSelectionPath().getLastPathComponent();
13
TreePath path = getSelectionPath();
14
addFrame(resClassname, rrw, getSelectionPath());
15
TreePath path = getSelectionPath();
16
TreePath tp = tree.getSelectionPath();
17
if (sessionList.getSelectionPath() != null) {
18
TreePath selectedPath = _criteriasTree.getSelectionPath();
19
lastPath = tree.getSelectionPath();
20
TreePath parentPath = tree.getSelectionPath();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.