public class ListTableModel extends ReportTableModel
Constructor and Description |
---|
ListTableModel(java.lang.String[] columnNames)
Creates model for a table of a report.
|
Modifier and Type | Method and Description |
---|---|
void |
addRow(java.lang.Object[] cells)
Adds a row to this model.
|
java.lang.String[] |
definedColumns()
Gets all table columns of this model.
|
protected java.lang.Object |
doGetValueOfCell(java.lang.String columnName) |
protected void |
doReset() |
protected void |
doSelectNextRow() |
protected int |
getColumnOf(java.lang.String columnId)
Gets the column-index of an column-id.
|
boolean |
hasMoreRows()
Determinates if more rows are available.
|
disposeData, doDisposeData, getLogger, getRowIndex, getValueOfCell, reset, selectNextRow
public ListTableModel(java.lang.String[] columnNames)
columnNames
- Name of table-columns.public void addRow(java.lang.Object[] cells)
cells
- Value of cells.public java.lang.String[] definedColumns()
ReportTableModel
definedColumns
in class ReportTableModel
protected java.lang.Object doGetValueOfCell(java.lang.String columnName)
doGetValueOfCell
in class ReportTableModel
protected void doReset()
doReset
in class ReportTableModel
protected void doSelectNextRow()
doSelectNextRow
in class ReportTableModel
protected int getColumnOf(java.lang.String columnId)
columnId
- ID of column.public boolean hasMoreRows()
ReportTableModel
hasMoreRows
in class ReportTableModel
© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.