|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jpt.utility.model.listener.CollectionChangeAdapter
public class CollectionChangeAdapter
Convenience implementation of CollectionChangeListener. Provisional API: This class is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Constructor Summary | |
---|---|
CollectionChangeAdapter()
Default constructor. |
Method Summary | |
---|---|
void |
collectionChanged(CollectionChangeEvent event)
This method gets called when a bound collection is changed in a manner that is not easily characterized by the other methods in this interface. |
void |
collectionCleared(CollectionChangeEvent event)
This method gets called when a bound collection is cleared. |
void |
itemsAdded(CollectionChangeEvent event)
This method gets called when items are added to a bound collection. |
void |
itemsRemoved(CollectionChangeEvent event)
This method gets called when items are removed from a bound collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionChangeAdapter()
Method Detail |
---|
public void itemsAdded(CollectionChangeEvent event)
CollectionChangeListener
itemsAdded
in interface CollectionChangeListener
event
- A CollectionChangeEvent describing the event source,
the collection that changed, and the items that were added.public void itemsRemoved(CollectionChangeEvent event)
CollectionChangeListener
itemsRemoved
in interface CollectionChangeListener
event
- A CollectionChangeEvent describing the event source,
the collection that changed, and the items that were removed.public void collectionCleared(CollectionChangeEvent event)
CollectionChangeListener
collectionCleared
in interface CollectionChangeListener
event
- A CollectionChangeEvent describing the event source
and the collection that changed.public void collectionChanged(CollectionChangeEvent event)
CollectionChangeListener
collectionChanged
in interface CollectionChangeListener
event
- A CollectionChangeEvent describing the event source
and the collection that changed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |