|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.webapp.table.sort.SortableTableModel org.nuxeo.ecm.webapp.table.model.GenericTableModel
@Deprecated public class GenericTableModel
A generic table model that can be used as is. Provides support for sorting columns.
Field Summary |
---|
Fields inherited from class org.nuxeo.ecm.webapp.table.sort.SortableTableModel |
---|
SORT_ASCENDING, SORT_DESCENDING |
Constructor Summary | |
---|---|
GenericTableModel(List<TableColHeader> columnHeaders,
List<TableRow> data)
Deprecated. Initializes a generic table model with data. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.nuxeo.ecm.webapp.table.sort.SortableTableModel |
---|
doSort, getSort, isAscending, setAscending, setSort |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericTableModel(List<TableColHeader> columnHeaders, List<TableRow> data) throws ClientException
columnHeaders
- data
-
ClientException
Method Detail |
---|
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
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |