|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.tree.TreeTableComparator
public abstract class TreeTableComparator
The comparator used in order to group the rows of a TreeTable component.
Field Summary | |
---|---|
protected TreeTableModel |
model
the associated treetablemodel |
Constructor Summary | |
---|---|
TreeTableComparator(TreeTableModel model)
Constructs a TreeTableComparator object. |
Method Summary | |
---|---|
TreeTableModel |
getModel()
Returns the associated TreeTableModel instance. |
abstract boolean |
isGroupedByColumn(int column)
Returns true if column was used by this comparator in order
to group the rows of a TreeTable component. |
void |
setModel(TreeTableModel model)
Sets model as the TreeTableModel of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
compare, equals |
Field Detail |
---|
protected TreeTableModel model
Constructor Detail |
---|
public TreeTableComparator(TreeTableModel model)
Method Detail |
---|
public TreeTableModel getModel()
public abstract boolean isGroupedByColumn(int column)
column
was used by this comparator in order
to group the rows of a TreeTable component.
column
- the index of the column
public void setModel(TreeTableModel model)
model
as the TreeTableModel of this object.
model
- the treetablemodel to assign
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |