|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcharvax.swing.AbstractListModel
The abstract base class for classes that implement the ListModel interface.
| Field Summary | |
protected java.util.ArrayList |
_listeners
A list of ListDataListeners registered for this object. |
| Constructor Summary | |
AbstractListModel()
|
|
| Method Summary | |
void |
addListDataListener(ListDataListener l_)
Register an ListDataListener object. |
void |
fireContentsChanged(java.lang.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(java.lang.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(java.lang.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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface charvax.swing.ListModel |
getElementAt, getSize |
| Field Detail |
protected java.util.ArrayList _listeners
| Constructor Detail |
public AbstractListModel()
| Method Detail |
public void addListDataListener(ListDataListener l_)
addListDataListener in interface ListModelpublic void removeListDataListener(ListDataListener l_)
removeListDataListener in interface ListModel
public void fireContentsChanged(java.lang.Object source_,
int index0_,
int index1_)
public void fireIntervalRemoved(java.lang.Object source_,
int index0_,
int index1_)
public void fireIntervalAdded(java.lang.Object source_,
int index0_,
int index1_)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||