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