Class AxisTitle

java.lang.Object
org.swtchart.internal.Title
org.swtchart.internal.axis.AxisTitle
All Implemented Interfaces:
ITitle

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

    • 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 Details

    • getDefaultText

      protected 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