E
- the type of the elements of this modelpublic interface ListModel<E>
JList
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(ListDataListener l)
Adds a listener to the list that's notified each time a change
to the data model occurs.
|
E |
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.
|
int getSize()
E getElementAt(int index)
index
- the requested indexindex
void addListDataListener(ListDataListener l)
l
- the ListDataListener
to be addedvoid removeListDataListener(ListDataListener l)
l
- the ListDataListener
to be removedaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2022 aicas GmbH. All Rights Reserved.