@Deprecated public class TableModel extends GenericTableModel
SORT_ASCENDING, SORT_DESCENDING
Constructor and Description |
---|
TableModel(List<TableColHeader> columnHeaders,
List<TableRow> data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
computeSelectionColumnIndex()
Deprecated.
Returns the index of the first special selection row in the model.
|
TableRow |
getCurrentRow()
Deprecated.
|
List<TableRow> |
getSelectedRows()
Deprecated.
Returns the list of selected rows.
|
int |
getSelectionColumnIndex()
Deprecated.
|
void |
process(ActionEvent event)
Deprecated.
Saves the current user selected row.
|
void |
selectAllRows(ActionEvent event)
Deprecated.
Selects all rows from the table.
|
void |
selectAllRows(boolean checked)
Deprecated.
|
void |
setCurrentRow(TableRow currentRow)
Deprecated.
|
void |
verifyRowConsistency(TableRow row)
Deprecated.
Also checks if the selection cell is in the same position as the
selection column.
|
addRow, addRows, getColumnHeaders, getCurrentCell, getCurrentCellDisplayedValue, getData, setColumnHeaders, setCurrentCellDisplayedValue, setData
doSort, getSort, isAscending, setAscending, setSort
public TableModel(List<TableColHeader> columnHeaders, List<TableRow> data) throws ClientException
ClientException
public void verifyRowConsistency(TableRow row) throws ClientException
verifyRowConsistency
in class GenericTableModel
ClientException
public void process(ActionEvent event)
This method is also used as a marker for a round trip to the server each time a row is selected so that the value associated with the selection cell from that row gets updated.
event
- public TableRow getCurrentRow()
public void setCurrentRow(TableRow currentRow)
public int getSelectionColumnIndex() throws ClientException
ClientException
public int computeSelectionColumnIndex() throws ClientException
ClientException
public List<TableRow> getSelectedRows() throws ClientException
ClientException
public void selectAllRows(ActionEvent event) throws ClientException
event
- ClientException
public void selectAllRows(boolean checked) throws ClientException
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.