Home » openjdk-7 » javax » swing » tree » [javadoc | source]
javax.swing.tree
public interface: RowMapper [javadoc | source]

All Known Implementing Classes:
    VariableHeightLayoutCache, FixedHeightLayoutCache, AbstractLayoutCache

Defines the requirements for an object that translates paths in the tree into display rows.
Method from javax.swing.tree.RowMapper Summary:
getRowsForPaths
Method from javax.swing.tree.RowMapper Detail:
 public int[] getRowsForPaths(TreePath[] path)
    Returns the rows that the TreePath instances in 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.