de.grogra.pf.ui.tree
Class SyncMappedList
java.lang.Object
de.grogra.pf.ui.tree.SyncMappedList
- All Implemented Interfaces:
- Synchronizer.Callback, java.util.EventListener, javax.swing.event.ListDataListener, javax.swing.ListModel
public class SyncMappedList
- extends java.lang.Object
- implements Synchronizer.Callback, javax.swing.event.ListDataListener, javax.swing.ListModel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
protected final javax.swing.ListModel source
sync
protected final Synchronizer sync
SyncMappedList
public SyncMappedList(javax.swing.ListModel source,
Synchronizer sync)
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener
in interface javax.swing.ListModel
contentsChanged
public void contentsChanged(javax.swing.event.ListDataEvent e)
- Specified by:
contentsChanged
in interface javax.swing.event.ListDataListener
fireContentsChanged
protected void fireContentsChanged(int a,
int b)
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt
in interface javax.swing.ListModel
getSize
public int getSize()
- Specified by:
getSize
in interface javax.swing.ListModel
intervalAdded
public void intervalAdded(javax.swing.event.ListDataEvent e)
- Specified by:
intervalAdded
in interface javax.swing.event.ListDataListener
intervalRemoved
public void intervalRemoved(javax.swing.event.ListDataEvent e)
- Specified by:
intervalRemoved
in interface javax.swing.event.ListDataListener
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener
in interface javax.swing.ListModel
run
public java.lang.Object run(int action,
int iarg,
java.lang.Object oarg1,
java.lang.Object oarg2)
- Specified by:
run
in interface Synchronizer.Callback