@Deprecated public class GenericTableModel extends SortableTableModel
SORT_ASCENDING, SORT_DESCENDING
Constructor and Description |
---|
GenericTableModel(List<TableColHeader> columnHeaders,
List<TableRow> data)
Deprecated.
Initializes a generic table model with data.
|
Modifier and Type | Method and Description |
---|---|
void |
addRow(TableRow newRow)
Deprecated.
|
void |
addRows(List<TableRow> newRows)
Deprecated.
|
DataModel |
getColumnHeaders()
Deprecated.
|
Object |
getCurrentCell()
Deprecated.
Returns the current cell associated with the current column.
|
Object |
getCurrentCellDisplayedValue()
Deprecated.
Returns the displayed value from the cell associated with the curent
column and current row.
|
DataModel |
getData()
Deprecated.
|
void |
setColumnHeaders(DataModel columnHeaders)
Deprecated.
|
void |
setCurrentCellDisplayedValue(Object value)
Deprecated.
Sets the current column /current row cell displayed value.
|
void |
setData(DataModel data)
Deprecated.
|
void |
verifyRowConsistency(TableRow row)
Deprecated.
Checks a row for consistency.
|
doSort, getSort, isAscending, setAscending, setSort
public GenericTableModel(List<TableColHeader> columnHeaders, List<TableRow> data) throws ClientException
columnHeaders
- data
- ClientException
public void verifyRowConsistency(TableRow row) throws ClientException
row
- ClientException
public DataModel getColumnHeaders()
public void setColumnHeaders(DataModel columnHeaders)
public DataModel getData()
public void setData(DataModel data)
public Object getCurrentCellDisplayedValue()
public Object getCurrentCell()
public void setCurrentCellDisplayedValue(Object value)
value
- public void addRows(List<TableRow> newRows) throws ClientException
ClientException
public void addRow(TableRow newRow) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.