|
Préférences
Moteurs de recherche
|
||||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
javax.swing
|
Method Summary | |
void |
addListDataListener(ListDataListener l)
Adds a listener to the list that's notified each time a change to the data model occurs. |
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 |
public int getSize()
public Object getElementAt(int index)
index
- the requested index
index
public void addListDataListener(ListDataListener l)
l
- the ListDataListener
to be addedpublic void removeListDataListener(ListDataListener l)
l
- the ListDataListener
to be removed