Overview | Methods | This Package | All Packages
Retrieves the node at the specified location.
Syntax
public TreeNode getNodeAt( int x, int y )
public TreeNode getNodeAt( Point pt )
Parameters
x
The x-coordinate of the location to test (expressed in client coordinates).
y
The y-coordinate of the location to test (expressed in client coordinates).
pt
A Point object that contains the x- and y-coordinates of the location to test (expressed in client coordinates).
Return Value
Returns a TreeNode object that represents the tree node at the specified location. If there is no node at the specified location, returns null.