|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface MetaDataTree.SortableColumn
Interface allowing us to have sortable columns in the flatview of the tree
Method Summary | |
---|---|
int |
compare(java.lang.Object n1,
java.lang.Object n2,
boolean goOn)
This method compares 2 nodes upon the basis of their columns Returns a negative, zero or a positive integer if n1 is less, equals, or greater than n2 |
java.lang.String |
getColName(ResourceNode node)
Returns the label of the column for a given leaf of the tree |
Method Detail |
---|
java.lang.String getColName(ResourceNode node)
node
- a leaf node
int compare(java.lang.Object n1, java.lang.Object n2, boolean goOn)
n1
- first node to be comparedn2
- second node to be comparedgoOn
- if false, we only do a primary comparison
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |