TPTP 4.5.0 Platform Project
Internal API Specification

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

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
All Implemented Interfaces:
java.io.Serializable, ISVGBase, ISVGGraphicBase
Direct Known Subclasses:
SVGCircleBase, SVGFeFuncBase, SVGFeGaussianBlurBase, SVGLineBase, SVGPathBase, SVGPolygonBase, SVGPolylineBase, SVGRectangleBase, SVGStopBase, SVGTextBase, SVGUseBase

public abstract class SVGGraphicBase
extends SVGBase
implements ISVGGraphicBase, java.io.Serializable

SVGGraphicBase is an abstract base class for classes which implement Scalable Vector Graphics (SVG) graphics as Document Object Model (DOM) objects. Applicable to SVG graphic objects which support the common set of SVG attributes implemented here. $Revision: 1.1 $

See Also:
Serialized Form

Constructor Summary
SVGGraphicBase()
           
 
Method Summary
protected  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 getFill()
          Returns the fill color.
 java.lang.String getFilter()
          Returns the filter.
 java.lang.String getStroke()
          Returns the stroke color.
 java.lang.String getTransformation()
          Returns the transformation.
 java.lang.String getXCoordinate()
          Returns the x-coordinate.
 java.lang.String getYCoordinate()
          Returns the y-coordinate.
 void setFill(java.lang.String fill)
          Sets the fill color.
 void setFilter(java.lang.String filter)
          Sets the filter.
 void setStroke(java.lang.String stroke)
          Sets the stroke color.
 void setTransformation(java.lang.String tTransformation)
          Sets the transformation.
 void setXCoordinate(java.lang.String xCoordinate)
          Sets the xCoordinate.
 void setYCoordinate(java.lang.String yCoordinate)
          Sets the yCoordinate.
 
Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
getIdentifier, getImplementation, getStyle, getStyleClass, getTagName, getVisibility, setIdentifier, setStyle, setStyleClass, setTagName, setVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGGraphicBase

public SVGGraphicBase()
Method Detail

doImplementation

protected org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
                                        throws org.w3c.dom.DOMException
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.

Overrides:
doImplementation in class SVGBase
Parameters:
Document - the target SVG document.
Returns:
Element the implementation element.
Throws:
org.w3c.dom.DOMException - if the tag name contains an illegal character.

getTransformation

public java.lang.String getTransformation()
Description copied from interface: ISVGGraphicBase
Returns the transformation.

Specified by:
getTransformation in interface ISVGGraphicBase
Returns:
String
See Also:
ISVGGraphicBase.getTransformation()

getFill

public java.lang.String getFill()
Description copied from interface: ISVGGraphicBase
Returns the fill color.

Specified by:
getFill in interface ISVGGraphicBase
Returns:
String
See Also:
ISVGGraphicBase.getFill()

getStroke

public java.lang.String getStroke()
Description copied from interface: ISVGGraphicBase
Returns the stroke color.

Specified by:
getStroke in interface ISVGGraphicBase
Returns:
String
See Also:
ISVGGraphicBase.getStroke()

getXCoordinate

public java.lang.String getXCoordinate()
Description copied from interface: ISVGGraphicBase
Returns the x-coordinate.

Specified by:
getXCoordinate in interface ISVGGraphicBase
Returns:
String
See Also:
ISVGGraphicBase.getXCoordinate()

getYCoordinate

public java.lang.String getYCoordinate()
Description copied from interface: ISVGGraphicBase
Returns the y-coordinate.

Specified by:
getYCoordinate in interface ISVGGraphicBase
Returns:
String
See Also:
ISVGGraphicBase.getYCoordinate()

setTransformation

public void setTransformation(java.lang.String tTransformation)
Description copied from interface: ISVGGraphicBase
Sets the transformation.

Specified by:
setTransformation in interface ISVGGraphicBase
See Also:
ISVGGraphicBase#setTransformation()

setFill

public void setFill(java.lang.String fill)
Description copied from interface: ISVGGraphicBase
Sets the fill color.

Specified by:
setFill in interface ISVGGraphicBase
Parameters:
fill - The fill to set.
See Also:
ISVGGraphicBase#setFill()

setStroke

public void setStroke(java.lang.String stroke)
Description copied from interface: ISVGGraphicBase
Sets the stroke color.

Specified by:
setStroke in interface ISVGGraphicBase
Parameters:
stroke - The stroke to set
See Also:
ISVGGraphicBase#setStroke()

setXCoordinate

public void setXCoordinate(java.lang.String xCoordinate)
Description copied from interface: ISVGGraphicBase
Sets the xCoordinate.

Specified by:
setXCoordinate in interface ISVGGraphicBase
Parameters:
xCoordinate - The xCoordinate to set
See Also:
ISVGGraphicBase#setXCoordinate()

setYCoordinate

public void setYCoordinate(java.lang.String yCoordinate)
Description copied from interface: ISVGGraphicBase
Sets the yCoordinate.

Specified by:
setYCoordinate in interface ISVGGraphicBase
Parameters:
yCoordinate - The yCoordinate to set
See Also:
ISVGGraphicBase#setYCoordinate()

getFilter

public java.lang.String getFilter()
Returns the filter.

Returns:
String

setFilter

public void setFilter(java.lang.String filter)
Sets the filter.

Parameters:
filter - The filter to set

TPTP 4.5.0 Platform Project
Internal API Specification