|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITableModelListener<T>
Thingy which receives events from a table model. When a model changes it must pass the changes on to it's listeners. The DataTable component for instance registers itself as a listener to it's attached model. It uses the events to re-draw the parts of the table that have changed.
Method Summary | |
---|---|
void |
modelChanged(ITableModel<T> model)
Called when the entire content of the model changed. |
void |
rowAdded(ITableModel<T> model,
int index,
T value)
Called after a row is added to the model. |
void |
rowDeleted(ITableModel<T> model,
int index,
T value)
Called after a row has been deleted. |
void |
rowModified(ITableModel<T> model,
int index,
T value)
Called after a row has been changed. |
Method Detail |
---|
void rowAdded(ITableModel<T> model, int index, T value) throws java.lang.Exception
model
- index
- value
-
java.lang.Exception
void rowDeleted(ITableModel<T> model, int index, T value) throws java.lang.Exception
model
- index
- The index of the deleted row in the table.value
- The deleted value.
java.lang.Exception
void rowModified(ITableModel<T> model, int index, T value) throws java.lang.Exception
model
- index
- value
-
java.lang.Exception
void modelChanged(ITableModel<T> model)
model
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |