|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.AbstractListModel
public abstract class AbstractListModel
A base class from which ListModel implementations are derived. This class provides event handling functionality so that components may be redrawn when models change.
| Field Summary | |
|---|---|
protected EventListenerList |
listenerList
A storage facility for EventListeners. |
| Constructor Summary | |
|---|---|
AbstractListModel()
Creates a new AbstractListModel. |
|
| Method Summary | |
|---|---|
void |
addListDataListener(ListDataListener l)
Adds a ListDataListener to the model. |
protected void |
fireContentsChanged(java.lang.Object source,
int index0,
int index1)
AbstractListModel subclasses must call this method after one or elements are changed. |
protected void |
fireIntervalAdded(java.lang.Object source,
int index0,
int index1)
AbstractListModel subclasses must call this method after one or elements are added. |
protected void |
fireIntervalRemoved(java.lang.Object source,
int index0,
int index1)
AbstractListModel subclasses must call this method after one or elements are removed. |
void |
removeListDataListener(ListDataListener l)
Removes a ListDataListener from the model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nextapp.echo.ListModel |
|---|
get, size |
| Field Detail |
|---|
protected EventListenerList listenerList
EventListeners.
| Constructor Detail |
|---|
public AbstractListModel()
| Method Detail |
|---|
public void addListDataListener(ListDataListener l)
ListModelListDataListener to the model.
ListDataListeners are notified whenever the model changes.
addListDataListener in interface ListModell - The ListDataListener to be added.ListModel.addListDataListener(ListDataListener)
protected void fireContentsChanged(java.lang.Object source,
int index0,
int index1)
protected void fireIntervalAdded(java.lang.Object source,
int index0,
int index1)
protected void fireIntervalRemoved(java.lang.Object source,
int index0,
int index1)
public void removeListDataListener(ListDataListener l)
ListModelListDataListener from the model.
ListDataListeners are notified whenever the model changes.
removeListDataListener in interface ListModell - The ListDataListener to be removed.ListModel.removeListDataListener(ListDataListener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||