|
TPTP 4.6.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.SVGGraphicBase
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGTextBase
public abstract class SVGTextBase
SVGTextBase is an abstract base class for classes which generate
Scalable Vector Graphics (SVG) "text" elements.
$Revision: 1.1 $
| Constructor Summary | |
|---|---|
SVGTextBase()
|
|
| 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 |
getFontFamily()
Returns the fontFamily. |
java.lang.String |
getFontSize()
Returns the fontSize. |
java.lang.String |
getFontStyle()
Returns the fontStyle. |
java.lang.String |
getFontWeight()
Returns the fontWeight. |
java.lang.String |
getLetterSpacing()
Returns the letterSpacing. |
java.lang.String |
getText()
Returns the text. |
java.lang.String |
getTextAnchor()
Returns the textAnchor. |
java.lang.String |
getTextDecoration()
Returns the textDecoration. |
java.lang.String |
getWordSpacing()
Returns the wordSpacing. |
void |
setFontFamily(java.lang.String fontFamily)
Sets the fontFamily. |
void |
setFontSize(java.lang.String fontSize)
Sets the fontSize. |
void |
setFontStyle(java.lang.String fontStyle)
Sets the fontStyle. |
void |
setFontWeight(java.lang.String fontWeight)
Sets the fontWeight. |
void |
setLetterSpacing(java.lang.String letterSpacing)
Sets the letterSpacing. |
void |
setText(java.lang.String text)
Sets the text. |
void |
setTextAnchor(java.lang.String textAnchor)
Sets the textAnchor. |
void |
setTextDecoration(java.lang.String textDecoration)
Sets the textDecoration. |
void |
setWordSpacing(java.lang.String wordSpacing)
Sets the wordSpacing. |
| 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 |
|---|
public SVGTextBase()
| Method Detail |
|---|
public org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
throws org.w3c.dom.DOMException,
java.lang.NullPointerException
SVGGraphicBasenull attributes.
Overriding classes should return null if any required attributes
for the particular SVG element are missing.
doImplementation in interface ISVGTextBasedoImplementation in class SVGGraphicBaseorg.w3c.dom.DOMException - if the tag name contains an illegal character.
java.lang.NullPointerExceptionISVGTextBase#doImplementation()public java.lang.String getText()
ISVGTextBase
getText in interface ISVGTextBaseISVGTextBase.getText()public java.lang.String getFontFamily()
ISVGTextBase
getFontFamily in interface ISVGTextBaseISVGTextBase.getFontFamily()public java.lang.String getFontSize()
ISVGTextBase
getFontSize in interface ISVGTextBaseISVGTextBase.getFontSize()public java.lang.String getFontWeight()
ISVGTextBase
getFontWeight in interface ISVGTextBaseISVGTextBase.getFontWeight()public java.lang.String getFontStyle()
ISVGTextBase
getFontStyle in interface ISVGTextBaseISVGTextBase.getFontStyle()public java.lang.String getTextDecoration()
ISVGTextBase
getTextDecoration in interface ISVGTextBaseISVGTextBase.getTextDecoration()public java.lang.String getWordSpacing()
ISVGTextBase
getWordSpacing in interface ISVGTextBaseISVGTextBase.getWordSpacing()public java.lang.String getLetterSpacing()
ISVGTextBase
getLetterSpacing in interface ISVGTextBaseISVGTextBase.getLetterSpacing()public java.lang.String getTextAnchor()
ISVGTextBase
getTextAnchor in interface ISVGTextBaseISVGTextBase.getTextAnchor()public void setFontFamily(java.lang.String fontFamily)
ISVGTextBase
setFontFamily in interface ISVGTextBasefontFamily - The fontFamily to setISVGTextBase#setFontFamily()public void setFontSize(java.lang.String fontSize)
ISVGTextBase
setFontSize in interface ISVGTextBasefontSize - The fontSize to setISVGTextBase#setFontSize()public void setFontStyle(java.lang.String fontStyle)
ISVGTextBase
setFontStyle in interface ISVGTextBasefontStyle - The fontStyle to setISVGTextBase#setFontStyle()public void setFontWeight(java.lang.String fontWeight)
ISVGTextBase
setFontWeight in interface ISVGTextBasefontWeight - The fontWeight to setISVGTextBase#setFontWeight()public void setLetterSpacing(java.lang.String letterSpacing)
ISVGTextBase
setLetterSpacing in interface ISVGTextBaseletterSpacing - The letterSpacing to setISVGTextBase#setLetterSpacing()public void setText(java.lang.String text)
ISVGTextBase
setText in interface ISVGTextBasetext - The text to setISVGTextBase#setText()public void setTextAnchor(java.lang.String textAnchor)
ISVGTextBase
setTextAnchor in interface ISVGTextBasetextAnchor - The textAnchor to setISVGTextBase#setTextAnchor()public void setTextDecoration(java.lang.String textDecoration)
ISVGTextBase
setTextDecoration in interface ISVGTextBasetextDecoration - The textDecoration to setISVGTextBase#setTextDecoration()public void setWordSpacing(java.lang.String wordSpacing)
ISVGTextBase
setWordSpacing in interface ISVGTextBasewordSpacing - The wordSpacing to setISVGTextBase#setWordSpacing()
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||