org.apache.pivot.wtk
Class TreeView.PathComparator
java.lang.Object
org.apache.pivot.wtk.TreeView.PathComparator
- All Implemented Interfaces:
- Serializable, Comparator<org.apache.pivot.collections.Sequence.Tree.Path>
- Enclosing class:
- TreeView
public static final class TreeView.PathComparator
- extends Object
- implements Comparator<org.apache.pivot.collections.Sequence.Tree.Path>, Serializable
A comparator that sorts paths by the order in which they would visually
appear in a fully expanded tree, otherwise known as their "row order".
- See Also:
- Serialized Form
|
Method Summary |
int |
compare(org.apache.pivot.collections.Sequence.Tree.Path path1,
org.apache.pivot.collections.Sequence.Tree.Path path2)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeView.PathComparator
public TreeView.PathComparator()
compare
public int compare(org.apache.pivot.collections.Sequence.Tree.Path path1,
org.apache.pivot.collections.Sequence.Tree.Path path2)
- Specified by:
compare in interface Comparator<org.apache.pivot.collections.Sequence.Tree.Path>