All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.AbstractListModel

java.lang.Object
   |
   +----com.sun.java.swing.AbstractListModel

public abstract class AbstractListModel
extends Object
implements ListModel

Constructor Index

 o AbstractListModel()

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 AbstractListModel
 public AbstractListModel()

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