org.jfree.report.data
Class ExpressionDataRow
java.lang.Object
org.jfree.report.data.ExpressionDataRow
- DataRow, DataSet
A datarow for all expressions encountered in the report. This datarow is a
stack-like structure, which allows easy adding and removing of expressions,
even if these expressions have been cloned and or otherwisely modified.
advance
public ExpressionDataRow advance(GlobalMasterRow master,
boolean deepTraversing)
throws DataSourceException
Advances to the next row and attaches the given master row to the objects
contained in that client data row.
master
- deepTraversing
- only advance expressions that have been marked as
deeply traversing
get
public Object get(String col)
throws DataSourceException
Returns the value of the function, expressions or column using its specific
name. The given name is translated into a valid column number and the the
column is queried. For functions and expressions, the
getValue()
method is called and for columns from the
tablemodel the tablemodel method getValueAt(row, column)
gets
called.
- get in interface DataRow
get
public Object get(int col)
throws DataSourceException
Returns the value of the expressions or column in the tablemodel using the
given column number as index. For functions and expressions, the
getValue()
method is called and for columns from the
tablemodel the tablemodel method getValueAt(row, column)
gets
called.
- get in interface DataRow
- get in interface DataSet
getColumnName
public String getColumnName(int col)
Returns the name of the column, expressions or function. For columns from
the tablemodel, the tablemodels getColumnName
method is
called. For functions, expressions and report properties the assigned name
is returned.
- getColumnName in interface DataRow
- getColumnName in interface DataSet
getFlags
public DataFlags getFlags(String col)
Queries lowlevel meta-data for the current value of the specified column.
- getFlags in interface DataRow
col
- the colum for which to query the meta-data flags
- the dataflag collection for the value in the named column
getFlags
public DataFlags getFlags(int col)
Queries lowlevel meta-data for the current value of the specified column.
- getFlags in interface DataRow
col
- the colum for which to query the meta-data flags
- the dataflag collection for the value in the specified column