org.siebengeisslein.pgui
Class PListenerList<ListenerType>
java.lang.Object
org.siebengeisslein.client.Persistent
org.siebengeisslein.pgui.PListenerList<ListenerType>
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ListenerType>, CloneAware, Instrumented
public class PListenerList<ListenerType>
- extends Persistent
- implements java.lang.Iterable<ListenerType>, CloneAware
This implements a list of listeners where listeners can be persistent-objects
or normal swing listeners (that may not be persistet).
| Methods inherited from class org.siebengeisslein.client.Persistent |
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, hashCode, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PListenerList
public PListenerList()
initTransient
protected void initTransient()
- Overrides:
initTransient in class Persistent
add
public void add(ListenerType listener)
remove
public void remove(ListenerType listener)
iterator
public java.util.Iterator<ListenerType> iterator()
- Specified by:
iterator in interface java.lang.Iterable<ListenerType>
size
public int size()
clone
public PListenerList clone(CloneHelper helper)
throws java.lang.CloneNotSupportedException
- Specified by:
clone in interface CloneAware
- Throws:
java.lang.CloneNotSupportedException