|
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
public abstract class SVGBase
SVGBase is an abstract base class for classes which implement
Scalable Vector Graphics (SVG) graphics as Document Object Model (DOM) objects.
Applicable to SVG graphics elements which support the common set of SVG attributes
implemented here.
$Revision: 1.1 $
| Constructor Summary | |
|---|---|
SVGBase()
|
|
| Method Summary | |
|---|---|
protected org.w3c.dom.Element |
doImplementation(org.w3c.dom.Document svgDocument)
Creates the Document Object Model (DOM) implementation of the SVG element specified in tagName and sets any non-null attributes. |
java.lang.String |
getIdentifier()
Returns the identifier. |
abstract org.w3c.dom.Element |
getImplementation()
Returns the implementation element. |
java.lang.String |
getStyle()
Returns the style. |
java.lang.String |
getStyleClass()
Returns the style class. |
protected java.lang.String |
getTagName()
Returns the tag name for the element. |
java.lang.String |
getVisibility()
Returns the visiblity setting. |
void |
setIdentifier(java.lang.String identifier)
Sets the identifier for the element. |
void |
setStyle(java.lang.String style)
Sets the style for the element. |
void |
setStyleClass(java.lang.String styleClass)
Sets the style class for the element. |
protected void |
setTagName(java.lang.String tagName)
Sets the tag name for the element. |
void |
setVisibility(java.lang.String visibility)
Sets the visibility setting for the element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGBase()
| Method Detail |
|---|
protected org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
throws org.w3c.dom.DOMException
tagName and sets any non-null attributes.
Overriding classes should return null if any required attributes
for the particular SVG element are missing.
Document - the target SVG document.
null if tagName is null.
DOMExcepton - if the tag name contains an illegal character.
org.w3c.dom.DOMExceptionprotected java.lang.String getTagName()
public java.lang.String getIdentifier()
ISVGBase
getIdentifier in interface ISVGBaseISVGBase.getIdentifier()public java.lang.String getStyle()
ISVGBase
getStyle in interface ISVGBaseISVGBase.getStyle()public java.lang.String getStyleClass()
ISVGBase
getStyleClass in interface ISVGBaseISVGBase.getStyleClass()public java.lang.String getVisibility()
ISVGBase
getVisibility in interface ISVGBaseorg.eclipse.tptp.platform.report.chart.svg.internal.generator.svg.ISVGBase#getVisibility()protected void setTagName(java.lang.String tagName)
tagName - The tagName to setpublic void setIdentifier(java.lang.String identifier)
ISVGBase
setIdentifier in interface ISVGBaseidentifier - The identifier to set.ISVGBase#setIdentifier()public void setStyle(java.lang.String style)
ISVGBase
setStyle in interface ISVGBasestyle - The style to set.ISVGBase#setStyle()public void setStyleClass(java.lang.String styleClass)
ISVGBase
setStyleClass in interface ISVGBasestyleClass - The styleClass to set.ISVGBase#setStyleClass()public void setVisibility(java.lang.String visibility)
ISVGBase
setVisibility in interface ISVGBasevisibility - Visibility settingorg.eclipse.tptp.platform.report.chart.svg.internal.generator.svg.ISVGBase#setVisibility(java.lang.String)public abstract org.w3c.dom.Element getImplementation()
ISVGBase
getImplementation in interface ISVGBaseISVGBase.getImplementation()
|
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 | ||||||||