org.jfree.report.data
public final class GlobalView extends Object implements DataRow
Method Summary | |
---|---|
GlobalView | advance() |
static GlobalView | createView() |
GlobalView | derive() |
Object | get(int col)
Returns the value of the expression or column in the tablemodel using the
given column number as index. |
Object | get(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.
|
String | getColumnName(int col)
Returns the name of the column, expression or function. |
DataFlags | getFlags(String col) |
DataFlags | getFlags(int col) |
void | putField(String name, Object value, boolean update)
This adds the expression to the data-row and queries the expression for the
first time.
|
void | removeColumn(String name)
Note: Dont remove the column. |
getValue()
method is called and for columns from the
tablemodel the tablemodel method getValueAt(row, column)
gets
called.
Parameters: col the item index.
Returns: the value.
Throws: IllegalStateException if the datarow detected a deadlock.
getValue()
method is called and for columns from the
tablemodel the tablemodel method getValueAt(row, column)
gets
called.
Parameters: col the item index.
Returns: the value.
Throws: IllegalStateException if the datarow detected a deadlock.
Returns: the item count.
getColumnName
method is
called. For functions, expressions and report properties the assigned name
is returned.
Parameters: col the item index.
Returns: the name.
Parameters: name the name of the field (cannot be null) value the value of that field (may be null)
Throws: DataSourceException
Parameters: name