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

Constructor Index

 o JListDataModelAdapter()

Method Index

 o addListDataListener(ListDataListener)
Add a listener to the list that's notified each time a change to the data model occurs.
 o getElementAt(int)
Returns the value at the specified index.
 o getSize()
Returns the length of the list.
 o notifyListDataListeners(ListDataEvent)
 o notifyListDataListeners(Object, int, int, int)
 o removeListDataListener(ListDataListener)
Remove a listener from the list that's notified each time a change to the data model occurs.

Constructors

 o JListDataModelAdapter
 public JListDataModelAdapter()

Methods

 o 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
 o 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
 o notifyListDataListeners
 protected void notifyListDataListeners(ListDataEvent e)
 o notifyListDataListeners
 protected void notifyListDataListeners(Object source,
                                        int type,
                                        int index0,
                                        int index1)

All Packages  Class Hierarchy  This Package  Previous  Next  Index