|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListModel
This interface defines the methods that components like Listbox
and Grid
use to get the content of items.
If the list model is used with sortable listbox or grid,
the developer must also implement ListModelExt
.
Grid
,
Listbox
,
ListitemRenderer
,
ListModelExt
,
Selectable
Method Summary | |
---|---|
void |
addListDataListener(ListDataListener l)
Adds a listener to the list that's notified each time a change to the data model occurs. |
java.lang.Object |
getElementAt(int index)
Returns the value at the specified index. |
int |
getSize()
Returns the length of the list. |
void |
removeListDataListener(ListDataListener l)
Removes a listener from the list that's notified each time a change to the data model occurs. |
Method Detail |
---|
java.lang.Object getElementAt(int index)
int getSize()
void addListDataListener(ListDataListener l)
void removeListDataListener(ListDataListener l)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |