de.lmu.ifi.dbs.elki.visualization.batikutil
Class NodeReplaceChild
java.lang.Object
de.lmu.ifi.dbs.elki.visualization.batikutil.NodeAppendChild
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
|
Method Summary |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 tochild - Child elementplot - Plot to register the ID (may be null)id - ID to register (may be null, requires plot to be given)
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class NodeAppendChild