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, selectNextRowpublic 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()
ReportTableModeldefinedColumns in class ReportTableModelprotected java.lang.Object doGetValueOfCell(java.lang.String columnName)
doGetValueOfCell in class ReportTableModelprotected void doReset()
doReset in class ReportTableModelprotected void doSelectNextRow()
doSelectNextRow in class ReportTableModelprotected int getColumnOf(java.lang.String columnId)
columnId - ID of column.public boolean hasMoreRows()
ReportTableModelhasMoreRows in class ReportTableModel© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.