|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.list.AbstractListModel
Abstract List Model.
Field Summary | |
protected EventListenerList |
listenerList
|
Constructor Summary | |
AbstractListModel()
Constructs new AbstractListModel object. |
Method Summary | |
void |
addListDataListener(ListDataListener l)
Adds list data listener. |
protected void |
fireContentsChanged(java.lang.Object source,
int index0,
int index1)
Fires contents changed event. |
protected void |
fireIntervalAdded(java.lang.Object source,
int index0,
int index1)
Fires interval added event. |
protected void |
fireIntervalRemoved(java.lang.Object source,
int index0,
int index1)
Fires interval removed event. |
protected ListDataListener[] |
getListDataListeners()
Returns list data listeners. |
void |
removeListDataListener(ListDataListener l)
Removes list data listener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface yu.ac.bg.etf.javaqx.qswing.list.ListModel |
getElementAt, getSize |
Field Detail |
protected final EventListenerList listenerList
Constructor Detail |
public AbstractListModel()
Method Detail |
protected ListDataListener[] getListDataListeners()
protected void fireContentsChanged(java.lang.Object source, int index0, int index1)
source
- the event sourceindex0
- the lower index of the rangeindex1
- the upper index of the rangeprotected void fireIntervalAdded(java.lang.Object source, int index0, int index1)
source
- the event sourceindex0
- the lower index of the rangeindex1
- the upper index of the rangeprotected void fireIntervalRemoved(java.lang.Object source, int index0, int index1)
source
- the event sourceindex0
- the lower index of the rangeindex1
- the upper index of the rangepublic void addListDataListener(ListDataListener l)
addListDataListener
in interface ListModel
l
- the list data listenerpublic void removeListDataListener(ListDataListener l)
removeListDataListener
in interface ListModel
l
- the list data listener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |