TPTP 4.2.0 Platform Project
Internal API Specification

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

java.lang.Object
  extended byorg.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
      extended byorg.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGContainerBase
          extended byorg.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGDocumentFragmentBase
All Implemented Interfaces:
ISVGBase, ISVGContainerBase, ISVGDocumentFragmentBase, java.io.Serializable
Direct Known Subclasses:
SVGSvg

public abstract class SVGDocumentFragmentBase
extends SVGContainerBase
implements ISVGDocumentFragmentBase, java.io.Serializable

SVGDocumentFragmentBase is an abstract base class for classes which generate Scalable Vector Graphics (SVG) document fragments ("svg" elements). $Revision: 1.1 $

See Also:
Serialized Form

Constructor Summary
SVGDocumentFragmentBase()
           
 
Method Summary
protected  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 getHeight()
          Returns the height.
 java.lang.String getPreserveAspectRatio()
          Returns the preserveAspectRatio.
 java.lang.String getViewbox()
          Returns the viewbox.
 java.lang.String getWidth()
          Returns the width.
 java.lang.String getXCoordinate()
          Returns the xCoordinate.
 java.lang.String getYCoordinate()
          Returns the yCoordinate.
 void setHeight(java.lang.String height)
          Sets the height.
 void setPreserveAspectRatio(java.lang.String preserveAspectRatio)
          Sets the preserveAspectRatio.
 void setViewbox(java.lang.String viewbox)
          Sets the viewbox.
 void setWidth(java.lang.String width)
          Sets the width.
 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.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

SVGDocumentFragmentBase

public SVGDocumentFragmentBase()
Method Detail

doImplementation

protected org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
                                        throws org.w3c.dom.DOMException,
                                               java.lang.NullPointerException
Calls the superclass to create the SVG container element and then sets any non-null base attributes.

Overrides:
doImplementation in class SVGContainerBase
Returns:
Element the implementation element 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 specified contained elements are null.

getWidth

public java.lang.String getWidth()
Description copied from interface: ISVGDocumentFragmentBase
Returns the width.

Specified by:
getWidth in interface ISVGDocumentFragmentBase
Returns:
String
See Also:
ISVGDocumentFragmentBase.getWidth()

getHeight

public java.lang.String getHeight()
Description copied from interface: ISVGDocumentFragmentBase
Returns the height.

Specified by:
getHeight in interface ISVGDocumentFragmentBase
Returns:
String
See Also:
ISVGDocumentFragmentBase.getHeight()

getXCoordinate

public java.lang.String getXCoordinate()
Description copied from interface: ISVGDocumentFragmentBase
Returns the xCoordinate.

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

getYCoordinate

public java.lang.String getYCoordinate()
Description copied from interface: ISVGDocumentFragmentBase
Returns the yCoordinate.

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

getViewbox

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

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

getPreserveAspectRatio

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

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

setWidth

public void setWidth(java.lang.String width)
Description copied from interface: ISVGDocumentFragmentBase
Sets the width.

Specified by:
setWidth in interface ISVGDocumentFragmentBase
Parameters:
width - A non-negative value
See Also:
ISVGDocumentFragmentBase#setWidth()

setHeight

public void setHeight(java.lang.String height)
Description copied from interface: ISVGDocumentFragmentBase
Sets the height.

Specified by:
setHeight in interface ISVGDocumentFragmentBase
Parameters:
height - A non-negative value
See Also:
ISVGDocumentFragmentBase#setHeight()

setXCoordinate

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

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

setYCoordinate

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

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

setViewbox

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

Specified by:
setViewbox in interface ISVGDocumentFragmentBase
See Also:
ISVGDocumentFragmentBase#setViewbox()

setPreserveAspectRatio

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

Specified by:
setPreserveAspectRatio in interface ISVGDocumentFragmentBase
Parameters:
preserveAspectRatio - The preserveAspectRatio to set
See Also:
ISVGDocumentFragmentBase#setPreserveAspectRatio()

TPTP 4.2.0 Platform Project
Internal API Specification