|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Aggregator
Aggregator calculates and returns values for the aggregate rows of a TreeTable component.
Method Summary | |
---|---|
Object |
getAggregateValue(AggregateRow node,
int columnIndex)
Calculates and returns the aggregate value for node at columnIndex . |
Object |
prepareValue(AggregateRow node,
int columnIndex)
This method retrieves the aggregate value that was set for the row at rowIndex and columnIndex. |
Method Detail |
---|
Object getAggregateValue(AggregateRow node, int columnIndex)
node
at columnIndex
.
node
- the nodecolumnIndex
- the index of the column
Object prepareValue(AggregateRow node, int columnIndex)
Aggregator.getAggregateValue(com.citra.treetable.AggregateRow, int)
is called in order to evaluate it, and the value returned
is assigned as the aggregate value of the row via the TreeTableRow.setAggregateValue(java.lang.Object, int)
method.
In this way, aggregate values are evaluated only once, in order to avoid manifold operations.
node
- the nodecolumnIndex
- the index of the column
node
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |