Package ipsk.util.collections
Class BasicCollectionObserver<E>
- java.lang.Object
-
- ipsk.util.collections.BasicCollectionObserver<E>
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
- Direct Known Subclasses:
ObservableCollection
,ObservableList
public abstract class BasicCollectionObserver<E> extends java.lang.Object implements java.util.Collection<E>
- Author:
- klausj
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Vector<CollectionListener>
listeners
-
Constructor Summary
Constructors Modifier Constructor Description protected
BasicCollectionObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCollectionListener(CollectionListener collectionListener)
protected void
fireCollectionChangedEvent()
protected void
fireCollectionChangedEvent(CollectionChangedEvent collectionChangedEvent)
void
removeCollectionListener(CollectionListener collectionListener)
-
-
-
Field Detail
-
listeners
protected java.util.Vector<CollectionListener> listeners
-
-
Method Detail
-
addCollectionListener
public void addCollectionListener(CollectionListener collectionListener)
-
removeCollectionListener
public void removeCollectionListener(CollectionListener collectionListener)
-
fireCollectionChangedEvent
protected void fireCollectionChangedEvent()
-
fireCollectionChangedEvent
protected void fireCollectionChangedEvent(CollectionChangedEvent collectionChangedEvent)
-
-