|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addListDataListener(ListDataListener listener)
Adds the passed ListDataListener from the list of ListDataListeners. |
JComponent[] |
getComponents()
Returns an array of the components. |
JComponent |
getElementAt(int index)
Returns the component located at position index in the component list. |
int |
getSize()
Returns the number of elements in the list. |
void |
removeListDataListener(ListDataListener listener)
Removes the passed ListDataListener from the list of ListDataListeners. |
Method Detail |
public JComponent getElementAt(int index)
This method will throw an IndexOutOfBoundsException if the
index is larger than the last index in the list, i.e.
ComponentListModel.getSize()
- 1.
index
- int
public int getSize()
public JComponent[] getComponents()
public void addListDataListener(ListDataListener listener)
listener
- ListDataListenerpublic void removeListDataListener(ListDataListener listener)
listener
- ListDataListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |