Package org.apache.pivot.wtk
Class TreeView.PathComparator
- java.lang.Object
- 
- org.apache.pivot.wtk.TreeView.PathComparator
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.util.Comparator<Sequence.Tree.Path>
 - Enclosing class:
- TreeView
 
 public static final class TreeView.PathComparator extends java.lang.Object implements java.util.Comparator<Sequence.Tree.Path>, java.io.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
 
- 
- 
Constructor SummaryConstructors Constructor Description PathComparator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Sequence.Tree.Path path1, Sequence.Tree.Path path2)
 
- 
- 
- 
Method Detail- 
comparepublic int compare(Sequence.Tree.Path path1, Sequence.Tree.Path path2) - Specified by:
- comparein interface- java.util.Comparator<Sequence.Tree.Path>
 
 
- 
 
-