TPTP 4.6.0 Platform Project
Internal API Specification

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

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.SVGTextBase
All Implemented Interfaces:
java.io.Serializable, ISVGBase, ISVGGraphicBase, ISVGTextBase
Direct Known Subclasses:
SVGText

public abstract class SVGTextBase
extends SVGGraphicBase
implements ISVGTextBase, java.io.Serializable

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

See Also:
Serialized Form

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

SVGTextBase

public SVGTextBase()
Method Detail

doImplementation

public org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
                                     throws org.w3c.dom.DOMException,
                                            java.lang.NullPointerException
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 ISVGTextBase
Overrides:
doImplementation in class SVGGraphicBase
Returns:
Element the implementation element.
Throws:
org.w3c.dom.DOMException - if the tag name contains an illegal character.
java.lang.NullPointerException
See Also:
ISVGTextBase#doImplementation()

getText

public java.lang.String getText()
Description copied from interface: ISVGTextBase
Returns the text.

Specified by:
getText in interface ISVGTextBase
Returns:
String
See Also:
ISVGTextBase.getText()

getFontFamily

public java.lang.String getFontFamily()
Description copied from interface: ISVGTextBase
Returns the fontFamily.

Specified by:
getFontFamily in interface ISVGTextBase
Returns:
String
See Also:
ISVGTextBase.getFontFamily()

getFontSize

public java.lang.String getFontSize()
Description copied from interface: ISVGTextBase
Returns the fontSize.

Specified by:
getFontSize in interface ISVGTextBase
Returns:
String
See Also:
ISVGTextBase.getFontSize()

getFontWeight

public java.lang.String getFontWeight()
Description copied from interface: ISVGTextBase
Returns the fontWeight.

Specified by:
getFontWeight in interface ISVGTextBase
Returns:
String
See Also:
ISVGTextBase.getFontWeight()

getFontStyle

public java.lang.String getFontStyle()
Description copied from interface: ISVGTextBase
Returns the fontStyle.

Specified by:
getFontStyle in interface ISVGTextBase
Returns:
String
See Also:
ISVGTextBase.getFontStyle()

getTextDecoration

public java.lang.String getTextDecoration()
Description copied from interface: ISVGTextBase
Returns the textDecoration.

Specified by:
getTextDecoration in interface ISVGTextBase
Returns:
String
See Also:
ISVGTextBase.getTextDecoration()

getWordSpacing

public java.lang.String getWordSpacing()
Description copied from interface: ISVGTextBase
Returns the wordSpacing.

Specified by:
getWordSpacing in interface ISVGTextBase
Returns:
String
See Also:
ISVGTextBase.getWordSpacing()

getLetterSpacing

public java.lang.String getLetterSpacing()
Description copied from interface: ISVGTextBase
Returns the letterSpacing.

Specified by:
getLetterSpacing in interface ISVGTextBase
Returns:
String
See Also:
ISVGTextBase.getLetterSpacing()

getTextAnchor

public java.lang.String getTextAnchor()
Description copied from interface: ISVGTextBase
Returns the textAnchor.

Specified by:
getTextAnchor in interface ISVGTextBase
Returns:
String
See Also:
ISVGTextBase.getTextAnchor()

setFontFamily

public void setFontFamily(java.lang.String fontFamily)
Description copied from interface: ISVGTextBase
Sets the fontFamily.

Specified by:
setFontFamily in interface ISVGTextBase
Parameters:
fontFamily - The fontFamily to set
See Also:
ISVGTextBase#setFontFamily()

setFontSize

public void setFontSize(java.lang.String fontSize)
Description copied from interface: ISVGTextBase
Sets the fontSize.

Specified by:
setFontSize in interface ISVGTextBase
Parameters:
fontSize - The fontSize to set
See Also:
ISVGTextBase#setFontSize()

setFontStyle

public void setFontStyle(java.lang.String fontStyle)
Description copied from interface: ISVGTextBase
Sets the fontStyle.

Specified by:
setFontStyle in interface ISVGTextBase
Parameters:
fontStyle - The fontStyle to set
See Also:
ISVGTextBase#setFontStyle()

setFontWeight

public void setFontWeight(java.lang.String fontWeight)
Description copied from interface: ISVGTextBase
Sets the fontWeight.

Specified by:
setFontWeight in interface ISVGTextBase
Parameters:
fontWeight - The fontWeight to set
See Also:
ISVGTextBase#setFontWeight()

setLetterSpacing

public void setLetterSpacing(java.lang.String letterSpacing)
Description copied from interface: ISVGTextBase
Sets the letterSpacing.

Specified by:
setLetterSpacing in interface ISVGTextBase
Parameters:
letterSpacing - The letterSpacing to set
See Also:
ISVGTextBase#setLetterSpacing()

setText

public void setText(java.lang.String text)
Description copied from interface: ISVGTextBase
Sets the text.

Specified by:
setText in interface ISVGTextBase
Parameters:
text - The text to set
See Also:
ISVGTextBase#setText()

setTextAnchor

public void setTextAnchor(java.lang.String textAnchor)
Description copied from interface: ISVGTextBase
Sets the textAnchor.

Specified by:
setTextAnchor in interface ISVGTextBase
Parameters:
textAnchor - The textAnchor to set
See Also:
ISVGTextBase#setTextAnchor()

setTextDecoration

public void setTextDecoration(java.lang.String textDecoration)
Description copied from interface: ISVGTextBase
Sets the textDecoration.

Specified by:
setTextDecoration in interface ISVGTextBase
Parameters:
textDecoration - The textDecoration to set
See Also:
ISVGTextBase#setTextDecoration()

setWordSpacing

public void setWordSpacing(java.lang.String wordSpacing)
Description copied from interface: ISVGTextBase
Sets the wordSpacing.

Specified by:
setWordSpacing in interface ISVGTextBase
Parameters:
wordSpacing - The wordSpacing to set
See Also:
ISVGTextBase#setWordSpacing()

TPTP 4.6.0 Platform Project
Internal API Specification