TPTP 4.5.0 Platform Project
Internal API Specification

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

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.SVGContainerBase
          extended by org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGSymbolBase
All Implemented Interfaces:
java.io.Serializable, ISVGBase, ISVGContainerBase, ISVGSymbolBase
Direct Known Subclasses:
SVGSymbol

public abstract class SVGSymbolBase
extends SVGContainerBase
implements ISVGSymbolBase, java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
SVGSymbolBase()
           
 
Method Summary
 org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
          Calls the superclass to create the SVG container element and then sets any non-null base attributes.
 java.lang.String getPreserveAspectRatio()
          Returns the preserveAspectRatio.
 java.lang.String getViewbox()
          Returns the viewbox.
 void setPreserveAspectRatio(java.lang.String newPreserveAspectRatio)
          Sets the preserveAspectRatio.
 void setViewbox(java.lang.String newViewbox)
          Sets the viewbox.
 
Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGContainerBase
getChildren, getDesc, getTitle, setChildren, setDesc, setTitle
 
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

SVGSymbolBase

public SVGSymbolBase()
Method Detail

doImplementation

public org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
                                     throws org.w3c.dom.DOMException,
                                            java.lang.NullPointerException
Description copied from class: SVGContainerBase
Calls the superclass to create the SVG container element and then sets any non-null base attributes. Calls the doImplementation(Document) method on all children - any children returning null will not have elements added to the container.

Specified by:
doImplementation in interface ISVGSymbolBase
Overrides:
doImplementation in class SVGContainerBase
Returns:
Element the container implementation or null if the element was not created.
Throws:
org.w3c.dom.DOMException - if the tag name contains an illegal character.
java.lang.NullPointerException - if any child elements are null.
See Also:
ISVGSymbolBase#doImplementation()

getPreserveAspectRatio

public java.lang.String getPreserveAspectRatio()
Description copied from interface: ISVGSymbolBase
Returns the preserveAspectRatio.

Specified by:
getPreserveAspectRatio in interface ISVGSymbolBase
Returns:
String
See Also:
ISVGSymbolBase.getPreserveAspectRatio()

getViewbox

public java.lang.String getViewbox()
Description copied from interface: ISVGSymbolBase
Returns the viewbox.

Specified by:
getViewbox in interface ISVGSymbolBase
Returns:
String
See Also:
ISVGSymbolBase.getViewbox()

setPreserveAspectRatio

public void setPreserveAspectRatio(java.lang.String newPreserveAspectRatio)
Description copied from interface: ISVGSymbolBase
Sets the preserveAspectRatio.

Specified by:
setPreserveAspectRatio in interface ISVGSymbolBase
Parameters:
newPreserveAspectRatio - The newPreserveAspectRatio to set.
See Also:
ISVGSymbolBase#setPreserveAspectRatio()

setViewbox

public void setViewbox(java.lang.String newViewbox)
Description copied from interface: ISVGSymbolBase
Sets the viewbox.

Specified by:
setViewbox in interface ISVGSymbolBase
Parameters:
newViewbox - The newViewbox to set.
See Also:
ISVGSymbolBase#setViewbox()

TPTP 4.5.0 Platform Project
Internal API Specification