TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.svg.internal.generator
Class SVGPathBase

java.lang.Object
  extended by org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
      extended by org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGGraphicBase
          extended by org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGPathBase
All Implemented Interfaces:
java.io.Serializable, ISVGBase, ISVGGraphicBase, ISVGPathBase
Direct Known Subclasses:
SVGPath

public abstract class SVGPathBase
extends SVGGraphicBase
implements ISVGPathBase, java.io.Serializable

SVGPathBase is an abstract base class for classes which generate Scalable Vector Graphics (SVG) "path" elements. $Revision: 1.1 $

See Also:
Serialized Form

Constructor Summary
SVGPathBase()
           
 
Method Summary
 org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
          Calls the superclass to create the element then sets any non-null attributes.
 java.lang.String getPathData()
          Returns the pathData.
 java.lang.String getPathLength()
          Returns the pathLength.
 java.lang.String getStyle()
          Returns the style.
 java.lang.String getTransform()
           
 void setPathData(java.lang.String string)
           
 void setPathLength(java.lang.String string)
           
 void setStyle(java.lang.String string)
          Sets the style for the element.
 void setTransform(java.lang.String string)
           
 
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 org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
getIdentifier, getImplementation, getStyleClass, getTagName, getVisibility, setIdentifier, setStyleClass, setTagName, setVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGPathBase

public SVGPathBase()
Method Detail

doImplementation

public org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
                                     throws org.w3c.dom.DOMException
Description copied from class: SVGGraphicBase
Calls the superclass to create the element then sets any non-null attributes. Overriding classes should return null if any required attributes for the particular SVG element are missing.

Specified by:
doImplementation in interface ISVGPathBase
Overrides:
doImplementation in class SVGGraphicBase
Returns:
Element the implementation element.
Throws:
org.w3c.dom.DOMException - if the tag name contains an illegal character.
See Also:
ISVGPolylineBase#doImplementation()

getPathData

public java.lang.String getPathData()
Description copied from interface: ISVGPathBase
Returns the pathData.

Specified by:
getPathData in interface ISVGPathBase
Returns:
String pathData
See Also:
ISVGPathBase.getPathData()

getPathLength

public java.lang.String getPathLength()
Description copied from interface: ISVGPathBase
Returns the pathLength.

Specified by:
getPathLength in interface ISVGPathBase
Returns:
String pathLength
See Also:
ISVGPathBase.getPathLength()

getStyle

public java.lang.String getStyle()
Description copied from interface: ISVGBase
Returns the style.

Specified by:
getStyle in interface ISVGBase
Specified by:
getStyle in interface ISVGPathBase
Overrides:
getStyle in class SVGBase
Returns:
String style
See Also:
ISVGPathBase.getStyle()

getTransform

public java.lang.String getTransform()
Returns:
String transform
See Also:
ISVGPathBase#getTransform()

setPathData

public void setPathData(java.lang.String string)
Parameters:
string - pathData
See Also:
ISVGPathBase#setPathData(String)

setPathLength

public void setPathLength(java.lang.String string)
Parameters:
string - pathLength
See Also:
ISVGPathBase#setPathLength(String)

setStyle

public void setStyle(java.lang.String string)
Description copied from interface: ISVGBase
Sets the style for the element.

Specified by:
setStyle in interface ISVGBase
Overrides:
setStyle in class SVGBase
Parameters:
string - style
See Also:
ISVGPathBase#setStyle(String)

setTransform

public void setTransform(java.lang.String string)
Parameters:
string - transform
See Also:
ISVGPathBase#setTransform(String)

TPTP 4.6.0 Platform Project
Internal API Specification