|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectechopoint.Tree.TreeRowMapper
protected class Tree.TreeRowMapper
Handles the RowMapper interface for the tree
Constructor Summary | |
---|---|
protected |
Tree.TreeRowMapper()
|
Method Summary | |
---|---|
int |
getRowForPath(TreePath path)
Returns the row that the TreePath path is being
displayed at. |
int[] |
getRowsForPaths(TreePath[] paths)
Returns the rows that the TreePath instances in path
are being displayed at. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Tree.TreeRowMapper()
Method Detail |
---|
public int getRowForPath(TreePath path)
path
is being
displayed at. If the TreePath in path
is not valid it
will be set to -1.
public int[] getRowsForPaths(TreePath[] paths)
path
are being displayed at. The receiver should return an array of the
same length as that passed in, and if one of the TreePaths in
path
is not valid its entry in the array should be set
to -1.
getRowsForPaths
in interface RowMapper
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |