Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

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

public class NodeReplaceChild
extends NodeAppendChild

Runnable wrapper to replace all children of a given node.

Author:
Erich Schubert

Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.visualization.batikutil.NodeAppendChild
child, id, parent, plot
 
Constructor Summary
NodeReplaceChild(Element parent, Element child)
          Trivial constructor.
NodeReplaceChild(Element parent, Element child, SVGPlot plot, String id)
          Full constructor.
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeReplaceChild

public NodeReplaceChild(Element parent,
                        Element child)
Trivial constructor.

Parameters:
parent - will become the parent of the appended Element.
child - the Element to be appended.

NodeReplaceChild

public NodeReplaceChild(Element parent,
                        Element child,
                        SVGPlot plot,
                        String id)
Full constructor.

Parameters:
parent - Parent node to append the child to
child - Child element
plot - Plot to register the ID (may be null)
id - ID to register (may be null, requires plot to be given)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class NodeAppendChild

Release 0.3 (2010-03-31_1612)