All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.JListDataModelAdapter
java.lang.Object
|
+----com.sun.java.swing.JListDataModelAdapter
- public abstract class JListDataModelAdapter
- extends Object
- implements ListDataModel
-
JListDataModelAdapter()
-
-
addListDataListener(ListDataListener)
- Add a listener to the list that's notified each time a change
to the data model occurs.
-
getElementAt(int)
- Returns the value at the specified index.
-
getSize()
-
Returns the length of the list.
-
notifyListDataListeners(ListDataEvent)
-
-
notifyListDataListeners(Object, int, int, int)
-
-
removeListDataListener(ListDataListener)
- Remove a listener from the list that's notified each time a
change to the data model occurs.
JListDataModelAdapter
public JListDataModelAdapter()
addListDataListener
public void addListDataListener(ListDataListener l)
- Add a listener to the list that's notified each time a change
to the data model occurs.
- Parameters:
- l - the ListDataListener
removeListDataListener
public void removeListDataListener(ListDataListener l)
- Remove a listener from the list that's notified each time a
change to the data model occurs.
- Parameters:
- l - the ListDataListener
notifyListDataListeners
protected void notifyListDataListeners(ListDataEvent e)
notifyListDataListeners
protected void notifyListDataListeners(Object source,
int type,
int index0,
int index1)
All Packages Class Hierarchy This Package Previous Next Index