Modifier and Type | Field and Description |
---|---|
private Axis |
axis
the axis
|
private static int |
DEFAULT_FONT_SIZE
the default color
|
private static java.lang.String |
DEFAULT_TEXT_FOR_XAXIS
the default text for X Axis
|
private static java.lang.String |
DEFAULT_TEXT_FOR_YAXIS
the default text for X Axis
|
private org.eclipse.swt.graphics.Font |
defaultFont
the default font
|
private IAxis.Direction |
direction
the direction of axis
|
Constructor and Description |
---|
AxisTitle(Chart chart,
int style,
Axis axis,
IAxis.Direction direction)
Constructor.
|
Modifier and Type | Method and 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.
|
getBounds, getFont, getForeground, getLayoutData, getStyleRanges, getText, isVisible, paintControl, setBounds, setFont, setForeground, setLayoutData, setStyleRanges, setText, setVisible, updateLayoutData
private static final java.lang.String DEFAULT_TEXT_FOR_XAXIS
private static final java.lang.String DEFAULT_TEXT_FOR_YAXIS
private static final int DEFAULT_FONT_SIZE
private final org.eclipse.swt.graphics.Font defaultFont
private final Axis axis
private final IAxis.Direction direction
public AxisTitle(Chart chart, int style, Axis axis, IAxis.Direction direction)
chart
- the chartstyle
- the styleaxis
- the axisdirection
- the directionprotected java.lang.String getDefaultText()
Title
getDefaultText
in class Title
protected boolean isHorizontal()
Title
isHorizontal
in class Title