Style Intelligence v12.0

inetsoft.graph.data
Interface CalcColumn

All Superinterfaces:
Cloneable, Serializable

public interface CalcColumn
extends Cloneable, Serializable

This interface defines the API for calculating the column values in a dataset.


Method Summary
 Object calculate(DataSet data, int row, boolean first, boolean last)
          Calculate the value at the row.
 String getField()
          Get field.
 String getHeader()
          Get the column header.
 Class getType()
          Get the column type.
 boolean isMeasure()
          Check if this column should be treated as a measure.
 

Method Detail

calculate

Object calculate(DataSet data,
                 int row,
                 boolean first,
                 boolean last)
Calculate the value at the row.

Parameters:
row - the row index of the dataset.
first - true if this is the beginning of a series.
last - true if this is the end of a series.

getHeader

String getHeader()
Get the column header.


getType

Class getType()
Get the column type.


isMeasure

boolean isMeasure()
Check if this column should be treated as a measure.


getField

String getField()
Get field.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.