Package org.jfree.report.data
Class FastGlobalView
java.lang.Object
org.jfree.report.data.FastGlobalView
Creation-Date: 10.08.2007, 14:07:32
- Author:
- Thomas Morgner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadvance()derive()intfindColumn(String name) get(int col) Returns the value of the expression or column in the tablemodel using the given column number as index.Returns the value of the function, expression or column using its specific name.intReturns the number of columns, expressions and functions and marked ReportProperties in the report.getColumnName(int col) Returns the name of the column, expression or function.getFlags(int col) Queries lowlevel meta-data for the current value of the specified column.Queries lowlevel meta-data for the current value of the specified column.voidvoidremoveColumn(String name)
-
Constructor Details
-
FastGlobalView
-
FastGlobalView
public FastGlobalView()
-
-
Method Details
-
get
Description copied from interface:DataRowReturns the value of the expression or column in the tablemodel using the given column number as index. For functions and expressions, thegetValue()method is called and for columns from the tablemodel the tablemodel methodgetValueAt(row, column)gets called.- Specified by:
getin interfaceDataRow- Specified by:
getin interfaceDataSet- Parameters:
col- the item index.- Returns:
- the value.
- Throws:
DataSourceException- if an error occured.
-
get
Description copied from interface:DataRowReturns 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, thegetValue()method is called and for columns from the tablemodel the tablemodel methodgetValueAt(row, column)gets called.- Specified by:
getin interfaceDataRow- Parameters:
col- the item index.- Returns:
- the value.
- Throws:
DataSourceException- if an error occured.
-
getColumnName
Description copied from interface:DataRowReturns the name of the column, expression or function. For columns from the tablemodel, the tablemodelsgetColumnNamemethod is called. For functions, expressions and report properties the assigned name is returned.- Specified by:
getColumnNamein interfaceDataRow- Specified by:
getColumnNamein interfaceDataSet- Parameters:
col- the item index.- Returns:
- the name.
-
findColumn
-
getColumnCount
public int getColumnCount()Description copied from interface:DataRowReturns the number of columns, expressions and functions and marked ReportProperties in the report.- Specified by:
getColumnCountin interfaceDataRow- Specified by:
getColumnCountin interfaceDataSet- Returns:
- the item count.
-
derive
-
advance
-
removeColumn
-
putField
-
getFlags
Description copied from interface:DataRowQueries lowlevel meta-data for the current value of the specified column.- Specified by:
getFlagsin interfaceDataRow- Parameters:
col- the colum for which to query the meta-data flags- Returns:
- the dataflag collection for the value in the named column
- Throws:
DataSourceException- if an error occured.
-
getFlags
Description copied from interface:DataRowQueries lowlevel meta-data for the current value of the specified column.- Specified by:
getFlagsin interfaceDataRow- Parameters:
col- the colum for which to query the meta-data flags- Returns:
- the dataflag collection for the value in the specified column
- Throws:
DataSourceException- if an error occured.
-