TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.svg.internal.generator
Interface ISVGTextBase

All Known Implementing Classes:
AxisLabel, SVGRotateText, SVGText, SVGTextBase

public interface ISVGTextBase

ISVGTextBase interface defines accessors for attributes which are common to Scalable Vector Graphics (SVG) "text" elements. Also provides for generating the implementation element. $Revision: 1.1 $


Method Summary
 org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
          Generates and returns the implementation of the SVG element.
 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.
 

Method Detail

doImplementation

org.w3c.dom.Element doImplementation(org.w3c.dom.Document svgDocument)
                                     throws org.w3c.dom.DOMException,
                                            java.lang.NullPointerException
Generates and returns the implementation of the SVG element.

Parameters:
Document - the target SVG document.
Returns:
Element the implementation element
Throws:
org.w3c.dom.DOMException - if the tag name contains an illegal character.
java.lang.NullPointerException

getText

java.lang.String getText()
Returns the text.

Returns:
String

getFontFamily

java.lang.String getFontFamily()
Returns the fontFamily.

Returns:
String

getFontSize

java.lang.String getFontSize()
Returns the fontSize.

Returns:
String

getFontWeight

java.lang.String getFontWeight()
Returns the fontWeight.

Returns:
String

getFontStyle

java.lang.String getFontStyle()
Returns the fontStyle.

Returns:
String

getTextDecoration

java.lang.String getTextDecoration()
Returns the textDecoration.

Returns:
String

getWordSpacing

java.lang.String getWordSpacing()
Returns the wordSpacing.

Returns:
String

getLetterSpacing

java.lang.String getLetterSpacing()
Returns the letterSpacing.

Returns:
String

getTextAnchor

java.lang.String getTextAnchor()
Returns the textAnchor.

Returns:
String

setFontFamily

void setFontFamily(java.lang.String fontFamily)
Sets the fontFamily.

Parameters:
fontFamily - The fontFamily to set

setFontSize

void setFontSize(java.lang.String fontSize)
Sets the fontSize.

Parameters:
fontSize - The fontSize to set

setFontStyle

void setFontStyle(java.lang.String fontStyle)
Sets the fontStyle.

Parameters:
fontStyle - The fontStyle to set

setFontWeight

void setFontWeight(java.lang.String fontWeight)
Sets the fontWeight.

Parameters:
fontWeight - The fontWeight to set

setLetterSpacing

void setLetterSpacing(java.lang.String letterSpacing)
Sets the letterSpacing.

Parameters:
letterSpacing - The letterSpacing to set

setText

void setText(java.lang.String text)
Sets the text.

Parameters:
text - The text to set

setTextAnchor

void setTextAnchor(java.lang.String textAnchor)
Sets the textAnchor.

Parameters:
textAnchor - The textAnchor to set

setTextDecoration

void setTextDecoration(java.lang.String textDecoration)
Sets the textDecoration.

Parameters:
textDecoration - The textDecoration to set

setWordSpacing

void setWordSpacing(java.lang.String wordSpacing)
Sets the wordSpacing.

Parameters:
wordSpacing - The wordSpacing to set

TPTP 4.6.0 Platform Project
Internal API Specification