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

Method scrollRowToVisible

unused/javax/swing/JTree.java:2167–2169  ·  view source on GitHub ↗

Scrolls the item identified by row until it is displayed. The minimum of amount of scrolling necessary to bring the row into view is performed. Only works when this JTree is contained in a JScrollPane . @param row an integer specifying the row to scroll, where 0 is the

(int row)

Source from the content-addressed store, hash-verified

2165 * first row in the display
2166 */
2167 public void scrollRowToVisible(int row) {
2168 scrollPathToVisible(getPathForRow(row));
2169 }
2170
2171 /**
2172 * Returns the path for the specified row. If <code>row</code> is

Callers

nothing calls this directly

Calls 2

scrollPathToVisibleMethod · 0.95
getPathForRowMethod · 0.95

Tested by

no test coverage detected