Package elki.visualization.batikutil
Class NodeReplaceByID
- java.lang.Object
-
- elki.visualization.batikutil.NodeReplaceByID
-
- All Implemented Interfaces:
java.lang.Runnable
public class NodeReplaceByID extends java.lang.Object implements java.lang.Runnable
This helper class will replace a node in an SVG plot. This is a Runnable to be put on the update queue.- Since:
- 0.2
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description NodeReplaceByID(org.w3c.dom.Element newe, SVGPlot plot, java.lang.String id)
Setup a SVG node replacement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Field Detail
-
plot
private SVGPlot plot
Plot to work in.
-
id
private java.lang.String id
ID of element to replace.
-
newe
private org.w3c.dom.Element newe
Replacement element.
-
-
Constructor Detail
-
NodeReplaceByID
public NodeReplaceByID(org.w3c.dom.Element newe, SVGPlot plot, java.lang.String id)
Setup a SVG node replacement.- Parameters:
newe
- New elementplot
- SVG plot to processid
- Node ID to replace
-
-