public class CollectionSupport
extends java.lang.Object
| Constructor and Description |
|---|
CollectionSupport(java.lang.Object source) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCollectionListener(CollectionListener listener) |
void |
fireObjectsAdded(java.util.Collection<?> data) |
void |
fireObjectsRemoved(java.util.Collection<?> data) |
void |
removeCollectionListener(CollectionListener listener) |
public CollectionSupport(java.lang.Object source)
source - the object that is to be the source of the eventspublic void fireObjectsAdded(java.util.Collection<?> data)
data - the objects that were addedpublic void fireObjectsRemoved(java.util.Collection<?> data)
data - the objects that were removedpublic void addCollectionListener(CollectionListener listener)
public void removeCollectionListener(CollectionListener listener)