org.swtchart.internal
Class ChartTitle

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

public class ChartTitle
extends Title

A chart title.


Field Summary
 
Fields inherited from class org.swtchart.internal.Title
chart, isVisible, text
 
Constructor Summary
ChartTitle(Chart chart, int style)
          Constructor.
 
Method Summary
protected  java.lang.String getDefaultText()
          Gets the default title text.
 
Methods inherited from class org.swtchart.internal.Title
dispose, getStyleRanges, getText, isHorizontal, 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

ChartTitle

public ChartTitle(Chart chart,
                  int style)
Constructor.

Parameters:
chart - the plot chart
style - the style
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