|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListModel
A data model for list type components (SelectFields and ListBoxes).
Method Summary | |
---|---|
void |
addListDataListener(ListDataListener l)
Adds a ListDataListener to the model. |
java.lang.Object |
get(int index)
Returns the value at the specified position in the list. |
void |
removeListDataListener(ListDataListener l)
Removes a ListDataListener from the model. |
int |
size()
Returns the size of the list. |
Method Detail |
---|
void addListDataListener(ListDataListener l)
ListDataListener
to the model.
ListDataListeners are notified whenever the model changes.
l
- The ListDataListener
to be added.java.lang.Object get(int index)
int size()
void removeListDataListener(ListDataListener l)
ListDataListener
from the model.
ListDataListeners are notified whenever the model changes.
l
- The ListDataListener
to be removed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |