TPTP 4.6.0 Platform Project
Internal API Specification

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

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.SVGRectangleBase
All Implemented Interfaces:
java.io.Serializable, ISVGBase, ISVGGraphicBase, ISVGRectangleBase
Direct Known Subclasses:
SVGRectangle

public abstract class SVGRectangleBase
extends SVGGraphicBase
implements ISVGRectangleBase, java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
SVGRectangleBase()
           
 
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 getHeight()
          Returns the height.
 java.lang.String getWidth()
          Returns the width.
 void setHeight(java.lang.String height)
          Sets the height.
 void setWidth(java.lang.String width)
          Sets the width.
 
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, 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

SVGRectangleBase

public SVGRectangleBase()
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 ISVGRectangleBase
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:
ISVGRectangleBase#doImplementation()

getHeight

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

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

getWidth

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

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

setHeight

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

Specified by:
setHeight in interface ISVGRectangleBase
Parameters:
height - The height to set
See Also:
ISVGRectangleBase#setHeight()

setWidth

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

Specified by:
setWidth in interface ISVGRectangleBase
Parameters:
width - The width to set
See Also:
ISVGRectangleBase#setWidth()

TPTP 4.6.0 Platform Project
Internal API Specification