|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGContainerBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGDocumentFragmentBase
public abstract class SVGDocumentFragmentBase
SVGDocumentFragmentBase is an abstract base class for classes which
generate Scalable Vector Graphics (SVG) document fragments ("svg" elements).
$Revision: 1.1 $
| 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 |
|---|
public SVGDocumentFragmentBase()
| Method Detail |
|---|
protected org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
throws org.w3c.dom.DOMException,
java.lang.NullPointerException
null base attributes.
doImplementation in class SVGContainerBaseDocument - the target SVG document.
null if the element was not created.
org.w3c.dom.DOMException - if the tag name contains an illegal character.
java.lang.NullPointerException - if any specified contained elements are null.public java.lang.String getWidth()
ISVGDocumentFragmentBase
getWidth in interface ISVGDocumentFragmentBaseISVGDocumentFragmentBase.getWidth()public java.lang.String getHeight()
ISVGDocumentFragmentBase
getHeight in interface ISVGDocumentFragmentBaseISVGDocumentFragmentBase.getHeight()public java.lang.String getXCoordinate()
ISVGDocumentFragmentBase
getXCoordinate in interface ISVGDocumentFragmentBaseISVGDocumentFragmentBase.getXCoordinate()public java.lang.String getYCoordinate()
ISVGDocumentFragmentBase
getYCoordinate in interface ISVGDocumentFragmentBaseISVGDocumentFragmentBase.getYCoordinate()public java.lang.String getViewbox()
ISVGDocumentFragmentBase
getViewbox in interface ISVGDocumentFragmentBaseISVGDocumentFragmentBase.getViewbox()public java.lang.String getPreserveAspectRatio()
ISVGDocumentFragmentBase
getPreserveAspectRatio in interface ISVGDocumentFragmentBaseISVGDocumentFragmentBase.getPreserveAspectRatio()public void setWidth(java.lang.String width)
ISVGDocumentFragmentBase
setWidth in interface ISVGDocumentFragmentBasewidth - A non-negative valueISVGDocumentFragmentBase#setWidth()public void setHeight(java.lang.String height)
ISVGDocumentFragmentBase
setHeight in interface ISVGDocumentFragmentBaseheight - A non-negative valueISVGDocumentFragmentBase#setHeight()public void setXCoordinate(java.lang.String xCoordinate)
ISVGDocumentFragmentBase
setXCoordinate in interface ISVGDocumentFragmentBasexCoordinate - The xCoordinate to setISVGDocumentFragmentBase#setXCoordinate()public void setYCoordinate(java.lang.String yCoordinate)
ISVGDocumentFragmentBase
setYCoordinate in interface ISVGDocumentFragmentBaseyCoordinate - The yCoordinate to setISVGDocumentFragmentBase#setYCoordinate()public void setViewbox(java.lang.String viewbox)
ISVGDocumentFragmentBase
setViewbox in interface ISVGDocumentFragmentBaseISVGDocumentFragmentBase#setViewbox()public void setPreserveAspectRatio(java.lang.String preserveAspectRatio)
ISVGDocumentFragmentBase
setPreserveAspectRatio in interface ISVGDocumentFragmentBasepreserveAspectRatio - The preserveAspectRatio to setISVGDocumentFragmentBase#setPreserveAspectRatio()
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||