org.eclipse.tptp.platform.report.chart.svg.internal.generator
Class SVGLine
java.lang.Object
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGGraphicBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGLineBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGLine
- All Implemented Interfaces:
- java.io.Serializable, ISVGBase, ISVGGraphicBase, ISVGLineBase
- Direct Known Subclasses:
- Line3D
public class SVGLine
- extends SVGLineBase
- implements java.io.Serializable
SVGLine is a implementation class for Scalable Vector Graphics (SVG)
"Line" elements.
$Revision: 1.2 $
- See Also:
- Serialized Form
|
Constructor Summary |
SVGLine()
Sole constructor. |
|
Method Summary |
org.w3c.dom.Element |
doImplementation(org.w3c.dom.Document svgDocument,
java.lang.String x1,
java.lang.String y1,
java.lang.String x2,
java.lang.String y2,
java.lang.String strokeWidth)
Creates the Document Object Model (DOM) implementation of the SVG "line" element |
org.w3c.dom.Element |
getImplementation()
Returns the implementation element. |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGLineBase |
doImplementation, getOnmouseout, getOnmouseover, getStrokeWidth, getX1, getX2, getY1, getY2, setOnmouseout, setOnmouseover, setStrokeWidth, setX1, setX2, setY1, setY2 |
| Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGGraphicBase |
getFill, getFilter, getStroke, getTransformation, getXCoordinate, getYCoordinate, setFill, setFilter, setStroke, setTransformation, setXCoordinate, setYCoordinate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SVGLine
public SVGLine()
- Sole constructor.
doImplementation
public org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument,
java.lang.String x1,
java.lang.String y1,
java.lang.String x2,
java.lang.String y2,
java.lang.String strokeWidth)
throws java.lang.NullPointerException
- Creates the Document Object Model (DOM) implementation of the SVG "line" element
- Parameters:
Document - the target SVG DocumentString - x1String - y1String - x2String - y2String - strokeWidth
- Returns:
-
- Throws:
java.lang.NullPointerException
getImplementation
public org.w3c.dom.Element getImplementation()
- Description copied from interface:
ISVGBase
- Returns the implementation element.
- Specified by:
getImplementation in interface ISVGBase- Overrides:
getImplementation in class SVGLineBase
- Returns:
- Element
- See Also:
org.eclipse.tptp.platform.report.chart.svg.internal.generator.svg.SVGBase#getImplementation()