TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.chart.svg.internal.part
Class AxisLabel

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
              extended by org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGText
                  extended by org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGRotateText
                      extended by org.eclipse.tptp.platform.report.chart.svg.internal.part.AxisLabel
All Implemented Interfaces:
java.io.Serializable, ISVGBase, ISVGGraphicBase, ISVGTextBase

public class AxisLabel
extends SVGRotateText

See Also:
Serialized Form

Field Summary
static int ABOVE
           
static int BELOW
           
protected  int direction
           
static int EAST
           
static int NORTH
           
protected  int position
           
static int SOUTH
           
static int WEST
           
 
Fields inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGRotateText
anchorStyle, bi, boundingBox, degrees, graphics, measureFont
 
Fields inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGText
implementation
 
Constructor Summary
AxisLabel(int direction, int position)
           
 
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.
 int getDirection()
           
 void setAnchorStyle(int anchorStyle)
           
 void setDegrees(double degrees)
           
 void setDirection(int direction)
           
 
Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGRotateText
getAnchorStyle, getBoundingBox, getBoundingBox, getDegrees, getFontFamily, getFontSize, getFontStyle
 
Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGText
doImplementation, getImplementation
 
Methods inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGTextBase
getFontWeight, getLetterSpacing, getText, getTextAnchor, getTextDecoration, getWordSpacing, setFontFamily, setFontSize, setFontStyle, setFontWeight, setLetterSpacing, setText, setTextAnchor, setTextDecoration, setWordSpacing
 
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, 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
 

Field Detail

direction

protected int direction

position

protected int position

NORTH

public static final int NORTH
See Also:
Constant Field Values

SOUTH

public static final int SOUTH
See Also:
Constant Field Values

EAST

public static final int EAST
See Also:
Constant Field Values

WEST

public static final int WEST
See Also:
Constant Field Values

ABOVE

public static final int ABOVE
See Also:
Constant Field Values

BELOW

public static final int BELOW
See Also:
Constant Field Values
Constructor Detail

AxisLabel

public AxisLabel(int direction,
                 int position)
Method Detail

getDirection

public int getDirection()
Returns:
Returns the direction.

setDirection

public void setDirection(int direction)
Parameters:
direction - The direction to set.

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 SVGRotateText
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()

setDegrees

public void setDegrees(double degrees)
Overrides:
setDegrees in class SVGRotateText
Parameters:
degrees - The degrees to set.

setAnchorStyle

public void setAnchorStyle(int anchorStyle)
Overrides:
setAnchorStyle in class SVGRotateText
Parameters:
anchorStyle - The anchorStyle to set.

TPTP 4.5.0 Platform Project
Internal API Specification