Package org.swtchart.internal.axis
Class AxisTitle
- java.lang.Object
-
- org.swtchart.internal.Title
-
- org.swtchart.internal.axis.AxisTitle
-
-
Constructor Summary
Constructors Constructor Description AxisTitle(Chart chart, int style, Axis axis, IAxis.Direction direction)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes the resources.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
getBounds, getFont, getForeground, getLayoutData, getStyleRanges, getText, isVisible, paintControl, setBounds, setFont, setForeground, setLayoutData, setStyleRanges, setText, setVisible, updateLayoutData
-
-
-
-
Constructor Detail
-
AxisTitle
public AxisTitle(Chart chart, int style, Axis axis, IAxis.Direction direction)
Constructor.- Parameters:
chart
- the chartstyle
- the styleaxis
- the axisdirection
- the direction
-
-
Method Detail
-
getDefaultText
protected java.lang.String getDefaultText()
Description copied from class:Title
Gets the default title text.- Overrides:
getDefaultText
in classTitle
- 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 classTitle
- Returns:
- the state indicating if showing title horizontally
-
-