Class AxisMemento

java.lang.Object
org.eclipse.nebula.visualization.internal.xygraph.undo.AxisMemento

public class AxisMemento
extends java.lang.Object
The memento to save the properties of an axis.
  • Constructor Details

  • Method Details

    • getTitle

      public java.lang.String getTitle()
      Returns:
      the title
    • setTitle

      public void setTitle​(java.lang.String title)
      Parameters:
      title - the title to set
    • getTitleFont

      public org.eclipse.swt.graphics.Font getTitleFont()
      Returns:
      the font
    • setTitleFont

      public void setTitleFont​(org.eclipse.swt.graphics.Font font)
      Parameters:
      font - the font to set
    • getForegroundColor

      public org.eclipse.swt.graphics.Color getForegroundColor()
      Returns:
      the foreGroundColor
    • setForegroundColor

      public void setForegroundColor​(org.eclipse.swt.graphics.Color foreGroundColor)
      Parameters:
      foreGroundColor - the foreGroundColor to set
    • isOnPrimarySide

      public boolean isOnPrimarySide()
      Returns:
      the onPrimarySide
    • setPrimarySide

      public void setPrimarySide​(boolean onPrimarySide)
      Parameters:
      onPrimarySide - the onPrimarySide to set
    • isLogScaleEnabled

      public boolean isLogScaleEnabled()
      Returns:
      the logScale
    • setLogScale

      public void setLogScale​(boolean logScale)
      Parameters:
      logScale - the logScale to set
    • isAutoScale

      public boolean isAutoScale()
      Returns:
      the autoScale
    • setAutoScale

      public void setAutoScale​(boolean autoScale)
      Parameters:
      autoScale - the autoScale to set
    • getAutoScaleThreshold

      public double getAutoScaleThreshold()
      Returns:
      the autoScaleThreshold
    • setAutoScaleThreshold

      public void setAutoScaleThreshold​(double autoScaleThreshold)
      Parameters:
      autoScaleThreshold - the autoScaleThreshold to set
    • getRange

      public Range getRange()
      Returns:
      the range
    • setRange

      public void setRange​(Range range)
      Parameters:
      range - the range to set
    • isDateEnabled

      public boolean isDateEnabled()
      Returns:
      the dateEnabled
    • setDateEnabled

      public void setDateEnabled​(boolean dateEnabled)
      Parameters:
      dateEnabled - the dateEnabled to set
    • isAutoFormat

      public boolean isAutoFormat()
      Returns:
      the autoFormat
    • setAutoFormat

      public void setAutoFormat​(boolean autoFormat)
      Parameters:
      autoFormat - the autoFormat to set
    • getFormatPattern

      public java.lang.String getFormatPattern()
      Returns:
      the formatPattern
    • setFormatPattern

      public void setFormatPattern​(java.lang.String formatPattern)
      Parameters:
      formatPattern - the formatPattern to set
    • isShowMajorGrid

      public boolean isShowMajorGrid()
      Returns:
      the showMajorGrid
    • setShowMajorGrid

      public void setShowMajorGrid​(boolean showMajorGrid)
      Parameters:
      showMajorGrid - the showMajorGrid to set
    • isDashGridLine

      public boolean isDashGridLine()
      Returns:
      the dashGridLine
    • setDashGridLine

      public void setDashGridLine​(boolean dashGridLine)
      Parameters:
      dashGridLine - the dashGridLine to set
    • getMajorGridColor

      public org.eclipse.swt.graphics.Color getMajorGridColor()
      Returns:
      the majorGridColor
    • setMajorGridColor

      public void setMajorGridColor​(org.eclipse.swt.graphics.Color majorGridColor)
      Parameters:
      majorGridColor - the majorGridColor to set