Method getPathForLocation(int x, int y)
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 path = getPathForLocation(location.x, location.y);
2
TreePath dragPath = getPathForLocation(location.x, location.y);
3
TreePath dragPath = getPathForLocation(location.x, location.y);
4
TreePath path = getPathForLocation(e.getX(), e.getY());
5
TreePath path = getPathForLocation(event.getX(),event.getY());
6
TreePath selPath = errorTree.getPathForLocation(event.getX(), event.getY());
7
TreePath path = _tree.getPathForLocation(e.getX(), e.getY());
8
TreePath path = getPathForLocation( pos.x, pos.y );
9
if (tree.getPathForLocation(e.getX(), e.getY()) != null)
10
TreePath path = getPathForLocation(p.x, p.y);
11
TreePath path = getPathForLocation(evt.getX(), evt.getY());
12
TreePath tp = tree.getPathForLocation (p.x, p.y);
13
javax.swing.tree.TreePath selPath = jTree1.getPathForLocation(evt.getX(), evt.getY());
14
TreePath path = m_tree.getPathForLocation(loc.x, loc.y);
15
(e.getX(), e.getY()).getLastPathComponent();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.