de.lmu.ifi.dbs.elki.visualization.batikutil
Class NodeReplacer
java.lang.Object
org.apache.batik.bridge.UpdateManagerAdapter
de.lmu.ifi.dbs.elki.visualization.batikutil.RunWhenReadyAndVisible
de.lmu.ifi.dbs.elki.visualization.batikutil.NodeReplacer
- All Implemented Interfaces:
- Runnable, org.apache.batik.bridge.UpdateManagerListener
public class NodeReplacer
- extends RunWhenReadyAndVisible
This helper class will replace a node in an SVG plot,
as soon as the tree is unlocked by the rendering engine.
- Author:
- Erich Schubert
Method Summary |
void |
run()
Run method invoked from the updateManager. |
Methods inherited from class org.apache.batik.bridge.UpdateManagerAdapter |
managerResumed, managerStopped, managerSuspended, updateCompleted, updateFailed, updateStarted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plot
private SVGPlot plot
id
private String id
newe
private Element newe
NodeReplacer
public NodeReplacer(Element newe,
SVGPlot plot,
String id)
- Setup a SVG node replacement.
- Parameters:
newe
- New elementplot
- SVG plot to processid
- Node ID to replace
run
public void run()
- Description copied from class:
RunWhenReadyAndVisible
- Run method invoked from the updateManager.
- Specified by:
run
in interface Runnable
- Specified by:
run
in class RunWhenReadyAndVisible