Modifier and Type |
Method |
Description |
void |
addColumn() |
Add a column to the model.
|
void |
addTableModelListener(WTableModelListener listener) |
Add a listener for events from the data model.
|
Object |
getDataAt(int rowIndex,
int columnIndex) |
Returns the cell value at rowIndex and columnIndex .
|
int |
getNoColumns() |
Query thenumber of columns in the table.
|
int |
getNoRows() |
Query the number of rows in the table.
|
int |
getRowCount() |
alias for getSize, to ease porting of swing form
|
Object |
getValueAt(int rowIndex,
int columnIndex) |
alias for getDataAt, to ease porting of swing form
|
void |
removeTableModelListener(WTableModelListener listener) |
|
void |
setDataAt(Object aValue,
int row,
int col) |
Set the cell value at row and column .
|
void |
setNoColumns(int columns) |
Set the number of columns that the table is to contain.
|
void |
setNoRows(int rowCount) |
Set the number of rows in the table and initialise new rows.
|
void |
setSorter(org.zkoss.zul.ext.Sortable<Object> lme) |
|
void |
setValueAt(Object value,
int row,
int col) |
alias for setDataAt, to ease porting of swing form
|
void |
sort(Comparator<Object> cmpr,
boolean ascending) |
|
void |
updateComponent(int row) |
Request components that attached to this model to re-render a row.
|
void |
updateComponent(int fromRow,
int toRow) |
Request components that attached to this model to re-render a range of row.
|