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

Method getRowForLocation

unused/javax/swing/JTree.java:2294–2296  ·  view source on GitHub ↗

Returns the row for the specified location. @param x an integer giving the number of pixels horizontally from the left edge of the display area, minus any left margin @param y an integer giving the number of pixels vertically from the top of the display area, minus any top margin

(int x, int y)

Source from the content-addressed store, hash-verified

2292 * @see #getClosestRowForLocation
2293 */
2294 public int getRowForLocation(int x, int y) {
2295 return getRowForPath(getPathForLocation(x, y));
2296 }
2297
2298 /**
2299 * Returns the path to the node that is closest to x,y. If

Callers 1

getToolTipTextMethod · 0.95

Calls 2

getRowForPathMethod · 0.95
getPathForLocationMethod · 0.95

Tested by

no test coverage detected