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

Method getPathForRow

unused/javax/swing/JTree.java:2181–2187  ·  view source on GitHub ↗

Returns the path for the specified row. If row is not visible, or a TreeUI has not been set, null is returned. @param row an integer specifying a row @return the TreePath to the specified node, null if row < 0

(int row)

Source from the content-addressed store, hash-verified

2179 * or <code>row &gt;= getRowCount()</code>
2180 */
2181 public TreePath getPathForRow(int row) {
2182 TreeUI tree = getUI();
2183
2184 if(tree != null)
2185 return tree.getPathForRow(this, row);
2186 return null;
2187 }
2188
2189 /**
2190 * Returns the row that displays the node identified by the specified

Callers 13

dropLocationForPointMethod · 0.95
getToolTipTextMethod · 0.95
getRowBoundsMethod · 0.95
scrollRowToVisibleMethod · 0.95
expandRowMethod · 0.95
collapseRowMethod · 0.95
getNextMatchMethod · 0.95
setSelectionRowsMethod · 0.80
addSelectionRowsMethod · 0.80
isExpandedMethod · 0.80
getPathBetweenRowsMethod · 0.80

Calls 1

getUIMethod · 0.95

Tested by

no test coverage detected