public interface ListModel
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
addListDataListener(ListDataListener l)
Adds a
ListDataListener to the model. |
java.lang.Object |
get(int index)
Returns the value at the specified index in the list.
|
void |
removeListDataListener(ListDataListener l)
Removes a
ListDataListener from the model. |
int |
size()
Returns the size of the list.
|
void addListDataListener(ListDataListener l)
ListDataListener to the model.
ListDataListeners are notified whenever the model
changes.l - the ListDataListener to addjava.lang.Object get(int index)
index - the indexint size()
void removeListDataListener(ListDataListener l)
ListDataListener from the model.
ListDataListener are notified whenever the model changes.l - the ListDataListener to remove