API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. AbstractListModel View Source
Author(s)
Hans Muller
Since
Version
1.35 11/17/05
Serial
Hierarchy
 Object
      AbstractListModel
Implements
 ListModel
 Serializable
Subclasses
Description
publicabstract abstract class AbstractListModel
  The abstract definition for the data model that provides a List with its contents.
See also:   
Constructors
public AbstractListModel ()
Methods
Hide/Show inherited methods
public void addListDataListener (ListDataListener l) [Specified in ListModel]
  Adds a listener to the list that's notified each time a change to the data model occurs.
protected void fireContentsChanged (Object source, int index0, int index1)
  AbstractListModel subclasses must call this method after one or more elements of the list change.
protected void fireIntervalAdded (Object source, int index0, int index1)
  AbstractListModel subclasses must call this method after one or more elements are added to the model.
protected void fireIntervalRemoved (Object source, int index0, int index1)
  AbstractListModel subclasses must call this method after one or more elements are removed from the model.
public ListDataListener getListDataListeners ()
  Returns an array of all the list data listeners registered on this AbstractListModel.
public T getListeners (Class< T> listenerType)
  Returns an array of all the objects currently registered as FooListeners upon this model.
public void removeListDataListener (ListDataListener l) [Specified in ListModel]
  Removes a listener from the list that's notified each time a change to the data model occurs.
Fields
Hide/Show inherited fields
protected EventListenerList listenerList
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar