org.eclipse.tptp.platform.report.chart.svg.internal.part
Class AxisLabel
java.lang.Object
org.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
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGText
org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGRotateText
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
| Fields inherited from class org.eclipse.tptp.platform.report.chart.svg.internal.generator.SVGText |
implementation |
|
Constructor Summary |
AxisLabel(int direction,
int position)
|
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
AxisLabel
public AxisLabel(int direction,
int position)
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.