|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sciapp.treetable.AbstractAggregator
com.sciapp.treetable.DefaultCellAggregator
public class DefaultCellAggregator
The default Aggregator that is used by a DynamicTreeTableModel.
Field Summary | |
---|---|
protected DynamicTreeTableModel |
model
the associated dynamic treetable model |
Constructor Summary | |
---|---|
DefaultCellAggregator(DynamicTreeTableModel model)
Constructs a DefaultCellAggregator object. |
Method Summary | |
---|---|
Object |
getAggregateValue(AggregateRow row,
int columnIndex)
Calculates and returns the aggregate value for node at columnIndex .
For header 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. |
DynamicTreeTableModel |
getModel()
Returns the associated dynamic treetable model instance. |
void |
setModel(DynamicTreeTableModel model)
Sets model as the dynamic treetable model of this object. |
Methods inherited from class com.sciapp.treetable.AbstractAggregator |
---|
prepareValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DynamicTreeTableModel model
Constructor Detail |
---|
public DefaultCellAggregator(DynamicTreeTableModel model)
Method Detail |
---|
public Object getAggregateValue(AggregateRow row, int columnIndex)
node
at columnIndex
.
For header 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.
For footer rows, returns an empty string.
row
- the nodecolumnIndex
- the index of the column
public DynamicTreeTableModel getModel()
public void setModel(DynamicTreeTableModel model)
model
as the dynamic treetable model of this object.
model
- the new dynamic treetable model to assign
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |