org.jfree.report.data
public class StaticDataRow extends Object implements DataRow
| Constructor Summary | |
|---|---|
| protected | StaticDataRow() |
| protected | StaticDataRow(StaticDataRow dataRow) |
| StaticDataRow(DataRow dataRow) | |
| StaticDataRow(String[] names, Object[] values) | |
| Method Summary | |
|---|---|
| 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) |
| protected void | setData(String[] names, Object[] values) |
| protected void | updateData(Object[] values) |
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.