org.jfree.report.data
Constructor and Description |
---|
FastGlobalView() |
FastGlobalView(FastGlobalView parent) |
Modifier and Type | Method and Description |
---|---|
FastGlobalView |
advance() |
FastGlobalView |
derive() |
int |
findColumn(java.lang.String name) |
java.lang.Object |
get(int col)
Returns the value of the expression or column in the tablemodel using the
given column number as index.
|
java.lang.Object |
get(java.lang.String col)
Returns the value of the function, expression or column using its specific
name.
|
int |
getColumnCount()
Returns the number of columns, expressions and functions and marked
ReportProperties in the report.
|
java.lang.String |
getColumnName(int col)
Returns the name of the column, expression or function.
|
DataFlags |
getFlags(int col)
Queries lowlevel meta-data for the current value of the specified column.
|
DataFlags |
getFlags(java.lang.String col)
Queries lowlevel meta-data for the current value of the specified column.
|
void |
putField(java.lang.String name,
java.lang.Object value,
boolean update) |
void |
removeColumn(java.lang.String name) |
public FastGlobalView(FastGlobalView parent)
public FastGlobalView()
public java.lang.Object get(int col) throws DataSourceException
DataRow
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
col
- the item index.DataSourceException
- if an error occured.public java.lang.Object get(java.lang.String col) throws DataSourceException
DataRow
getValue()
method is called and for columns from the
tablemodel the tablemodel method getValueAt(row, column)
gets
called.get
in interface DataRow
col
- the item index.DataSourceException
- if an error occured.public java.lang.String getColumnName(int col)
DataRow
getColumnName
method is
called. For functions, expressions and report properties the assigned name
is returned.getColumnName
in interface DataRow
getColumnName
in interface DataSet
col
- the item index.public int findColumn(java.lang.String name)
public int getColumnCount()
DataRow
getColumnCount
in interface DataRow
getColumnCount
in interface DataSet
public FastGlobalView derive()
public FastGlobalView advance()
public void removeColumn(java.lang.String name)
public void putField(java.lang.String name, java.lang.Object value, boolean update)
public DataFlags getFlags(java.lang.String col) throws DataSourceException
DataRow
getFlags
in interface DataRow
col
- the colum for which to query the meta-data flagsDataSourceException
- if an error occured.public DataFlags getFlags(int col) throws DataSourceException
DataRow
getFlags
in interface DataRow
col
- the colum for which to query the meta-data flagsDataSourceException
- if an error occured.