org.jfree.report.data
public final class ExpressionDataRow extends Object implements DataRow
| Constructor Summary | |
|---|---|
| ExpressionDataRow(GlobalMasterRow masterRow, ReportContext reportContext, int capacity) | |
| Method Summary | |
|---|---|
| ExpressionDataRow | advance(GlobalMasterRow master, boolean deepTraversing)
Advances to the next row and attaches the given master row to the objects
contained in that client data row.
|
| ExpressionDataRow | derive(GlobalMasterRow master) |
| Object | get(int col)
Returns the value of the expressions or column in the tablemodel using the
given column number as index. |
| Object | get(String col)
Returns the value of the function, expressions 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, expressions or function. |
| DataFlags | getFlags(String col) |
| DataFlags | getFlags(int col) |
| ExpressionSlot[] | getSlots() |
| void | popExpression() |
| void | popExpressions(int counter) |
| void | pushExpression(ExpressionSlot expressionSlot)
This adds the expression to the data-row and queries the expression for the
first time.
|
| void | pushExpressions(ExpressionSlot[] expressionSlots) |
Parameters: master deepTraversing only advance expressions that have been marked as deeply traversing
Returns:
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: ex rd
Throws: DataSourceException