org.pentaho.chart.model
Class ChartTitle

java.lang.Object
  extended by org.pentaho.chart.model.StyledText
      extended by org.pentaho.chart.model.ChartTitle
All Implemented Interfaces:
Serializable

public class ChartTitle
extends StyledText
implements Serializable

The Chart Title appears prominently on the chart to give succinct explanation of the chart. The Chart Title supports all of the parameters of StyledText.

See Also:
StyledText, Serialized Form

Nested Class Summary
static class ChartTitle.TitleLocation
           
 
Constructor Summary
ChartTitle()
           
ChartTitle(String text)
           
ChartTitle(String text, String fontFamily, CssStyle.FontStyle fontStyle, CssStyle.FontWeight fontWeight, int fontSize)
           
 
Method Summary
 ChartTitle.TitleLocation getLocation()
           
 void setLocation(ChartTitle.TitleLocation location)
          Not implemented.
 
Methods inherited from class org.pentaho.chart.model.StyledText
getAlignment, getBackgroundColor, getColor, getFontFamily, getFontSize, getFontStyle, getFontWeight, getStyle, getText, setAlignment, setBackgroundColor, setColor, setFont, setFont, setFontFamily, setFontSize, setFontStyle, setFontWeight, setText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartTitle

public ChartTitle()

ChartTitle

public ChartTitle(String text)

ChartTitle

public ChartTitle(String text,
                  String fontFamily,
                  CssStyle.FontStyle fontStyle,
                  CssStyle.FontWeight fontWeight,
                  int fontSize)
Method Detail

getLocation

public ChartTitle.TitleLocation getLocation()

setLocation

public void setLocation(ChartTitle.TitleLocation location)
Not implemented. Presently all titles will appear at the Chart Engines default location.

Parameters:
location -