org.oddjob.monitor.control
Class NodeControl
java.lang.Object
org.oddjob.monitor.control.NodeControl
- All Implemented Interfaces:
- EventListener, TreeWillExpandListener
public class NodeControl
- extends Object
- implements TreeWillExpandListener
Listens for tree expansion events to lazily create nodes, add listeners
only when they are required, and remove listeners when they are not.
The intention is to put as little strain on the network as possible.
- Author:
- Rob Gordon.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeControl
public NodeControl()
treeWillCollapse
public void treeWillCollapse(TreeExpansionEvent event)
throws ExpandVetoException
- Specified by:
treeWillCollapse
in interface TreeWillExpandListener
- Throws:
ExpandVetoException
treeWillExpand
public void treeWillExpand(TreeExpansionEvent event)
throws ExpandVetoException
- Specified by:
treeWillExpand
in interface TreeWillExpandListener
- Throws:
ExpandVetoException