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