charvax.swing
public interface ListModel
Conceptually, the model is a Vector; indices vary from 0 to
getSize() - 1
.
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(ListDataListener l)
Register an object that will be notified when the list contents
change.
|
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)
Remove the specified ListDataListener.
|
void addListDataListener(ListDataListener l)
java.lang.Object getElementAt(int index)
int getSize()
void removeListDataListener(ListDataListener l)