|
Jazz API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ZGroupListener is an interface to support notification when changes occur to a ZGroup. Based on Swing's ComponentListener.
The class that is interested in processing a group event
either implements this interface (and all the methods it
contains) or extends the abstract ZGroupAdapter class
(overriding only the methods of interest).
The listener object created from that class is then registered with a
ZGroup using the ZGroup's addGroupListener
method. When the ZGroup's state changes,
the relevant method in the listener object is invoked,
and the ZGroupEvent is passed to it.
ZGroup events are provided for notification purposes ONLY;
Jazz will automatically handle ZGroup state changes
internally so that everything works properly regardless of
whether a program registers a ZGroupListener or not.
ZGroupAdapter,
ZGroupEvent| Method Summary | |
void |
nodeAdded(ZGroupEvent e)
Invoked when a node has been added to this group. |
void |
nodeRemoved(ZGroupEvent e)
Invoked when a node has been removed from this group. |
| Method Detail |
public void nodeAdded(ZGroupEvent e)
e - The group event.public void nodeRemoved(ZGroupEvent e)
e - The group event.
|
Jazz API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||