charvax.swing
Class AbstractListModel
java.lang.Objectcharvax.swing.AbstractListModel
- ListModel
public abstract class AbstractListModel
extends java.lang.Object
The abstract base class for classes that implement the ListModel interface.
protected ArrayList | _listeners- A list of ListDataListeners registered for this object.
|
void | addListDataListener(ListDataListener l_)- Register an ListDataListener object.
|
void | fireContentsChanged(Object source_, int index0_, int index1_)- Subclasses of AbstractListModel must call this method after the
contents of one or more elements of the list has changed.
|
void | fireIntervalAdded(Object source_, int index0_, int index1_)- Subclasses of AbstractListModel must call this method after
one or more elements of the list has been added to the model.
|
void | fireIntervalRemoved(Object source_, int index0_, int index1_)- Subclasses of AbstractListModel must call this method after
one or more elements of the list has been removed from the model.
|
void | removeListDataListener(ListDataListener l_)- Remove the specified ListDataListener from the list of listeners
that will be notified.
|
_listeners
protected ArrayList _listeners
A list of ListDataListeners registered for this object.
fireContentsChanged
public void fireContentsChanged(Object source_,
int index0_,
int index1_) Subclasses of AbstractListModel must call this method after the
contents of one or more elements of the list has changed.
fireIntervalAdded
public void fireIntervalAdded(Object source_,
int index0_,
int index1_) Subclasses of AbstractListModel must call this method after
one or more elements of the list has been added to the model.
fireIntervalRemoved
public void fireIntervalRemoved(Object source_,
int index0_,
int index1_) Subclasses of AbstractListModel must call this method after
one or more elements of the list has been removed from the model.