lt.monarch.chart.chart2D.axis
Class AxisTitle

java.lang.Object
  extended by lt.monarch.chart.engine.AbstractChartObject<AxisPaintTags>
      extended by lt.monarch.chart.chart2D.axis.AxisTitle
All Implemented Interfaces:
java.io.Serializable, ChartObject, StyleEditorEntity

public class AxisTitle
extends AbstractChartObject<AxisPaintTags>

Axis title object

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
protected  TextStyle<AxisTextPaintTags> textStyle
           
protected  java.lang.String title
           
protected  TitleSettings titleSettings
           
 
Fields inherited from class lt.monarch.chart.engine.AbstractChartObject
AXIS_SORT_POSITION, BREAK_LINE_POSITION, DEFAULT_SORT_POSITION, GRID_SORT_POSITION, MARKER_SERIES_SORT_POSITION, MARKERS_SORT_POSITION, paintStyle, SERIES_SORT_POSITION, sortPosition, style
 
Constructor Summary
Constructor and Description
AxisTitle(java.lang.String title)
           
 
Method Summary
Modifier and Type Method and Description
 void draw(AbstractGraphics g)
          Renders chart object on the Graphics context.
 java.awt.Font getFont(AxisTextPaintTags tag)
           
 Style getFullStyle()
           
 java.lang.Object getParent()
          Return the parent chart object
 AbstractStyle getStyle(StyleType styleType)
          Gets style object for the stylesheet attributes specified by style type.
 TextStyle<AxisTextPaintTags> getTextStyle()
          Gets text style object
 java.lang.String getTitle()
           
 TitleSettings getTitleSettings()
          Gets the titleSettings object
 void setParent(java.lang.Object parent)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class lt.monarch.chart.engine.AbstractChartObject
activate, chart, copy, deactivate, dispose, finalize, getChart, getChartObjectBounds, getPaintStyle, getSortPosition, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

titleSettings

protected final TitleSettings titleSettings

textStyle

protected TextStyle<AxisTextPaintTags> textStyle

title

protected java.lang.String title
Constructor Detail

AxisTitle

public AxisTitle(java.lang.String title)
Method Detail

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

draw

public void draw(AbstractGraphics g)
Description copied from interface: ChartObject
Renders chart object on the Graphics context.

Parameters:
g - graphics context

getParent

public java.lang.Object getParent()
Description copied from interface: StyleEditorEntity
Return the parent chart object

Specified by:
getParent in interface StyleEditorEntity
Overrides:
getParent in class AbstractChartObject<AxisPaintTags>
Returns:
the parent

setParent

public void setParent(java.lang.Object parent)

getFont

public java.awt.Font getFont(AxisTextPaintTags tag)

getTitleSettings

public TitleSettings getTitleSettings()
Gets the titleSettings object

Returns:
the titleSettings object

getTextStyle

public TextStyle<AxisTextPaintTags> getTextStyle()
Gets text style object

Returns:
the text style object

getStyle

public AbstractStyle getStyle(StyleType styleType)
Description copied from interface: ChartObject
Gets style object for the stylesheet attributes specified by style type.

Specified by:
getStyle in interface ChartObject
Specified by:
getStyle in interface StyleEditorEntity
Overrides:
getStyle in class AbstractChartObject<AxisPaintTags>
Parameters:
styleType - style type attributes
Returns:
the style object

getFullStyle

public Style getFullStyle()