|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ZNodeContainerListener
Interface to support notification when nodes are added or removed from a ZNode. Based on Swing's ContainerListener.
The listener interface for receiving ZNodeContainer events.
The class that is interested in processing a ZNodeContainer event
either implements this interface (and all the methods it
contains) or extends the abstract ZNodeContainerAdapter class
(overriding only the methods of interest).
The listener object created from that class is then registered with a
ZNode using the ZNode's addNodeContainerListener
method. When a node is added or removed from a ZNode,
the relevant method in the listener object is invoked,
and the ZNodeContainerEvent is passed to it.
ZNodeContainer events are provided for notification purposes ONLY;
The AWT will automatically handle ZNode adds and removes
internally so that GUI layout works properly regardless of
whether a program registers a ZNodeContainerListener or not.
ZNodeContainerAdapter,
ZNodeContainerEvent| Method Summary | |
void |
nodeAdded(ZNodeContainerEvent e)
Invoked when a node has been added to this node. |
void |
nodeRemoved(ZNodeContainerEvent e)
Invoked when a node has been removed from this node. |
| Method Detail |
public void nodeAdded(ZNodeContainerEvent e)
public void nodeRemoved(ZNodeContainerEvent e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||