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

Method getPathBounds

unused/javax/swing/JTree.java:2114–2120  ·  view source on GitHub ↗

Returns the Rectangle that the specified node will be drawn into. Returns null if any component in the path is hidden (under a collapsed parent). Note: This method returns a valid rectangle, even if the specified node is not currently displayed. @param path the <co

(TreePath path)

Source from the content-addressed store, hash-verified

2112 * or <code>null</code>
2113 */
2114 public Rectangle getPathBounds(TreePath path) {
2115 TreeUI tree = getUI();
2116
2117 if(tree != null)
2118 return tree.getPathBounds(this, path);
2119 return null;
2120 }
2121
2122 /**
2123 * Returns the <code>Rectangle</code> that the node at the specified row is

Callers 10

getToolTipTextMethod · 0.95
getRowBoundsMethod · 0.95
scrollPathToVisibleMethod · 0.95
getPathForLocationMethod · 0.95
mouseMovedMethod · 0.80
mouseClickedMethod · 0.80
isVisibleMethod · 0.80
getLocationOnScreenMethod · 0.80
getLocationInJTreeMethod · 0.80
getBoundsMethod · 0.80

Calls 1

getUIMethod · 0.95

Tested by

no test coverage detected