|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.table.AbstractTableModel
com.sptci.echo2.table.AbstractTableModel<D>
com.sptci.echo2.table.TableModel<D>
com.sptci.echo2.table.DefaultPageableTableModel<Row>
com.sptci.rwt.webui.RowTableModel
com.sptci.rwt.webui.RowsTableModel
public class RowsTableModel
A custom table model used to display Rows object.
This is used by the BatchQueryExecutorView to display each result
obtained by executing a statement in the batch specified.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private List<Row> |
rows
The list used as the backing store for this model. |
| Fields inherited from class com.sptci.rwt.webui.RowTableModel |
|---|
manager, maxColumnLength, maxRows, query |
| Fields inherited from class com.sptci.echo2.table.DefaultPageableTableModel |
|---|
page, pageSize, totalRows |
| Fields inherited from class com.sptci.echo2.table.TableModel |
|---|
columns, data |
| Fields inherited from class com.sptci.echo2.table.AbstractTableModel |
|---|
sortDirection, sortIndex |
| Constructor Summary | |
|---|---|
RowsTableModel(Rows rows)
Create a new instance of the table model using the specified model object. |
|
| Method Summary | |
|---|---|
protected void |
fetchData()
Update the TableModel.data with the current page of data from rows. |
| Methods inherited from class com.sptci.rwt.webui.RowTableModel |
|---|
getColumnName, getManager, getMaxColumnLength, getMaxRows, getQuery, getTotalRows, getValueAt, processColumns, setPage, setPageSize |
| Methods inherited from class com.sptci.echo2.table.DefaultPageableTableModel |
|---|
getPage, getPageSize, getTotalPages |
| Methods inherited from class com.sptci.echo2.table.TableModel |
|---|
addRow, deleteRow, deleteRow, getColumnAnnotations, getColumnClass, getColumnCount, getObjectAt, getRowCount, init, insertRow, processColumnAnnotations, processColumnsAnnotation, processFields, updateRow |
| Methods inherited from class com.sptci.echo2.table.AbstractTableModel |
|---|
getSortDirection |
| Methods inherited from class nextapp.echo2.app.table.AbstractTableModel |
|---|
addTableModelListener, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getEventListenerList, removeTableModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final List<Row> rows
| Constructor Detail |
|---|
public RowsTableModel(Rows rows)
rows - The data backing this table model.RowTableModel.setPageSize(int),
RowTableModel.processColumns()| Method Detail |
|---|
protected void fetchData()
TableModel.data with the current page of data from rows.
fetchData in class RowTableModelAbstractTableModel.fireTableDataChanged(),
QueryExecutor
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||