|
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.treetable.AbstractAggregator
com.citra.treetable.TreeNodeAggregator
public class TreeNodeAggregator
The default Aggregator that is used by an AggregateTreeTableModel.
Field Summary | |
---|---|
protected AggregateTreeTableModel |
model
the associated aggregate treetable model |
Constructor Summary | |
---|---|
TreeNodeAggregator(AggregateTreeTableModel model)
Constructs a TreeNodeAggregator object. |
Method Summary | |
---|---|
Object |
getAggregateValue(AggregateRow row,
int columnIndex)
Calculates and returns the aggregate value for node at columnIndex .
For aggregate rows, returns the value of the column under which the children of the header row
are grouped or an emptry string if the column was not used to group this node's children. |
AggregateTreeTableModel |
getModel()
Returns the associated aggregate treetable model instance. |
void |
setModel(AggregateTreeTableModel model)
Sets model as the aggregate treetable model of this object. |
Methods inherited from class com.citra.treetable.AbstractAggregator |
---|
prepareValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AggregateTreeTableModel model
Constructor Detail |
---|
public TreeNodeAggregator(AggregateTreeTableModel model)
Method Detail |
---|
public Object getAggregateValue(AggregateRow row, int columnIndex)
node
at columnIndex
.
For aggregate rows, returns the value of the column under which the children of the header row are grouped or an emptry string if the column was not used to group this node's children.
row
- the nodecolumnIndex
- the index of the column
public AggregateTreeTableModel getModel()
public void setModel(AggregateTreeTableModel model)
model
as the aggregate treetable model of this object.
model
- the new aggregate treetable model 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 |