Package org.swtchart.internal.axis
Class AxisTitle
java.lang.Object
org.swtchart.internal.Title
org.swtchart.internal.axis.AxisTitle
- All Implemented Interfaces:
EventListener
,org.eclipse.swt.events.PaintListener
,org.eclipse.swt.internal.SWTEventListener
,ITitle
An Axis title.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionAxisTitle
(Chart chart, int style, Axis axis, IAxis.Direction direction) Constructor. -
Method Summary
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 Details
-
AxisTitle
Constructor.- Parameters:
chart
- the chartstyle
- the styleaxis
- the axisdirection
- the direction
-
-
Method Details
-
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
-
dispose
public void dispose()Description copied from class:Title
Disposes the resources.
-