|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.list.AbstractListModel
A base class from which ListModel implementations may be
derived. This class provides event listener management facilities.
| Constructor Summary | |
AbstractListModel()
Creates a new AbstractListModel. |
|
| Method Summary | |
void |
addListDataListener(ListDataListener l)
Adds a ListDataListener to the model. |
protected void |
fireContentsChanged(int index0,
int index1)
Notifies listeners that the contents of the list have changed. |
protected void |
fireIntervalAdded(int index0,
int index1)
Notifies listeners that an interval of items was added. |
protected void |
fireIntervalRemoved(int index0,
int index1)
Notifies listeners that an interval of items was removed. |
protected EventListenerList |
getEventListenerList()
Returns the EventListenerList being used to manage event
listeners. |
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.echo2.app.list.ListModel |
get, size |
| 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 addListModel.addListDataListener(nextapp.echo2.app.event.ListDataListener)protected EventListenerList getEventListenerList()
EventListenerList being used to manage event
listeners.
protected void fireContentsChanged(int index0,
int index1)
index0 - the index of the first changed itemindex1 - the index of the last changed item
protected void fireIntervalAdded(int index0,
int index1)
index0 - the index of the first added itemindex1 - the index of the last added item
protected void fireIntervalRemoved(int index0,
int index1)
index0 - the index of the first removed indexindex1 - the index of the last removed indexpublic void removeListDataListener(ListDataListener l)
ListModelListDataListener from the model.
ListDataListener are notified whenever the model changes.
removeListDataListener in interface ListModell - the ListDataListener to removeListModel.removeListDataListener(nextapp.echo2.app.event.ListDataListener)
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||