Class AxisTitle

  • All Implemented Interfaces:
    java.util.EventListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener, ITitle

    public class AxisTitle
    extends Title
    An Axis title.
    • Constructor Detail

      • AxisTitle

        public AxisTitle​(Chart chart,
                         int style,
                         Axis axis,
                         IAxis.Direction direction)
        Constructor.
        Parameters:
        chart - the chart
        style - the style
        axis - the axis
        direction - the direction
    • 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
      • isHorizontal

        protected boolean isHorizontal()
        Description copied from class: Title
        Gets the state indicating if showing title horizontally.
        Overrides:
        isHorizontal in class Title
        Returns:
        the state indicating if showing title horizontally
      • dispose

        public void dispose()
        Description copied from class: Title
        Disposes the resources.
        Overrides:
        dispose in class Title