JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Interface Aggregate

All Known Implementing Classes:
BaseAggregate

public interface Aggregate

Interface for the built-in Aggregate types used to display summary information.

See Also:
SummaryColumn

Method Summary
 boolean cacheResultData()
          Indicates whether the result data is to be cached for display.
 void calculate(com.klg.jclass.higrid.RowNode rowNode)
          Perform the aggregation.
 boolean done()
          Determine if aggregation is done.
 Object getResultData()
          Returns the result data as a object.
 void init(com.klg.jclass.higrid.SummaryColumn column)
          Initialize the aggregate.
 boolean nextLevel(com.klg.jclass.higrid.RowNode rowNode)
          Determine if the next row level should be traversed.
 

Method Detail

init

public void init(com.klg.jclass.higrid.SummaryColumn column)
Initialize the aggregate.

Parameters:
column - The summary column.

done

public boolean done()
Determine if aggregation is done.

Returns:
True if done.

nextLevel

public boolean nextLevel(com.klg.jclass.higrid.RowNode rowNode)
Determine if the next row level should be traversed.

Parameters:
rowNode - The row node.
Returns:
True if the lower level is to be traversed.

calculate

public void calculate(com.klg.jclass.higrid.RowNode rowNode)
Perform the aggregation.

Parameters:
rowNode - The row node.

cacheResultData

public boolean cacheResultData()
Indicates whether the result data is to be cached for display.

Returns:
True if the result data is to be cached.

getResultData

public Object getResultData()
Returns the result data as a object.

Returns:
The result data.

Copyright © 2004 Quest Software Inc..
All rights reserved.