org.swtchart.internal.axis
Class AxisTitle

java.lang.Object
  extended by Canvas
      extended by org.swtchart.internal.Title
          extended by org.swtchart.internal.axis.AxisTitle
All Implemented Interfaces:
ITitle

public class AxisTitle
extends Title

An Axis title.


Field Summary
 
Fields inherited from class org.swtchart.internal.Title
chart, isVisible, text
 
Constructor Summary
AxisTitle(Chart chart, int style, Axis axis, IAxis.Direction direction)
          Constructor.
 
Method Summary
 void dispose()
           
protected  java.lang.String getDefaultText()
          Gets the default title text.
protected  boolean isHorizontal()
          Gets the state indicating if showing title horizontally.
 
Methods inherited from class org.swtchart.internal.Title
getStyleRanges, getText, isVisible, paintControl, setFont, setForeground, setStyleRanges, setText, setVisible, updateLayoutData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.swtchart.ITitle
getFont, getForeground
 

Constructor Detail

AxisTitle

public AxisTitle(Chart chart,
                 int style,
                 Axis axis,
                 IAxis.Direction direction)
Constructor.

Parameters:
chart - the chart
style - the style
axis - the axis
direction - the direction
Method Detail

getDefaultText

protected java.lang.String getDefaultText()
Description copied from class: Title
Gets the default title text.

Overrides:
getDefaultText in class Title
Returns:
the default title text

isHorizontal

protected boolean isHorizontal()
Description copied from class: Title
Gets the state indicating if showing title horizontally.

Overrides:
isHorizontal in class Title
Returns:
the state indicating if showing title horizontally

dispose

public void dispose()
Overrides:
dispose in class Title