|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.norvelle.textcite.gui.adapter.ListModelAdapterCollection
public class ListModelAdapterCollection
ListModelAdapterCollection Holds a set of ListModelAdapters, and handles sending events to all of them, as well as adding and removing them when necessary
Constructor Summary | |
---|---|
ListModelAdapterCollection(ListModelAdaptee adaptee)
|
Method Summary | |
---|---|
void |
addAdapter(ListModelChangeListener adapter)
|
void |
fireContentsChanged(java.lang.Object sender,
java.lang.Object data,
int pos,
int pos2)
Just hand on the ContentsChanged signal to the JList that we're serving as the model for. |
void |
fireIntervalAdded(java.lang.Object sender,
java.lang.Object data,
int pos,
int pos2)
Just hand on the IntervalAdded signal to the JList that we're serving as the model for. |
void |
fireIntervalRemoved(java.lang.Object sender,
java.lang.Object data,
int pos,
int pos2)
Just hand on the IntervalRemoved signal to the JList that we're serving as the model for. |
void |
removeAdapter(ListModelChangeListener adapter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListModelAdapterCollection(ListModelAdaptee adaptee)
Method Detail |
---|
public void addAdapter(ListModelChangeListener adapter)
public void removeAdapter(ListModelChangeListener adapter)
public void fireContentsChanged(java.lang.Object sender, java.lang.Object data, int pos, int pos2)
data
- the Object that has changedpublic void fireIntervalRemoved(java.lang.Object sender, java.lang.Object data, int pos, int pos2)
data
- the Object that has been removedpublic void fireIntervalAdded(java.lang.Object sender, java.lang.Object data, int pos, int pos2)
data
- The object that has been added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |