public interface RowMapper
定义针对将树中的路径转换为显示行的对象的要求。
| 方法摘要 | |
|---|---|
int[] |
getRowsForPaths(TreePath[] path) 返回显示 path 中的 TreePath 实例的行。 |
| 方法详细信息 |
|---|
int[] getRowsForPaths(TreePath[] path)
path 中的 TreePath 实例的行。该接收者应返回与传入数组长度相同的数组,如果
path 中的 TreePath 之一无效,则应将该数组中的条目设置为 -1。