Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization.batikutil
Class NodeReplacer

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.visualization.batikutil.NodeReplacer
All Implemented Interfaces:
Runnable

public class NodeReplacer
extends Object
implements Runnable

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

Field Summary
private  String id
           
private  Element newe
           
private  SVGPlot plot
           
 
Constructor Summary
NodeReplacer(Element newe, SVGPlot plot, String id)
          Setup a SVG node replacement.
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

plot

private SVGPlot plot

id

private String id

newe

private Element newe
Constructor Detail

NodeReplacer

public NodeReplacer(Element newe,
                    SVGPlot plot,
                    String id)
Setup a SVG node replacement.

Parameters:
newe - New element
plot - SVG plot to process
id - Node ID to replace
Method Detail

run

public void run()
Specified by:
run in interface Runnable

Release 0.3 (2010-03-31_1612)