|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Container.ItemSetChangeNotifier
The interface for adding and removing ItemSetChangeEvent
listeners. By implementing this interface a class explicitly announces
that it will generate a ItemSetChangeEvent when its
contents are modified.
Note: The general Java convention is not to explicitly declare that a
class generates events, but to directly define the
addListener and removeListener methods.
That way the caller of these methods has no real way of finding out if
the class really will send the events, or if it just defines the methods
to be able to implement an interface.
| Method Summary | |
|---|---|
void |
addListener(Container.ItemSetChangeListener listener)
Adds an Item set change listener for the object. |
void |
removeListener(Container.ItemSetChangeListener listener)
Removes the Item set change listener from the object. |
| Method Detail |
|---|
void addListener(Container.ItemSetChangeListener listener)
listener - listener to be addedvoid removeListener(Container.ItemSetChangeListener listener)
listener - listener to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||