org.jfree.report.data
Class ReportDataRow
java.lang.Object
org.jfree.report.data.ReportDataRow
- DataRow, DataSet
Creation-Date: 20.02.2006, 15:32:32
get
public Object get(String col)
throws DataSourceException
Returns the value of the function, expression 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 expression 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, expression 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