Class TraceMemento

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

public class TraceMemento
extends java.lang.Object
The memento to save the properties of a trace.
  • Constructor Details

  • Method Details

    • getName

      public java.lang.String getName()
      Returns:
      the name
    • setName

      public void setName​(java.lang.String name)
      Parameters:
      name - the name to set
    • getXAxis

      public Axis getXAxis()
      Returns:
      the xAxis
    • setXAxis

      public void setXAxis​(Axis axis)
      Parameters:
      axis - the xAxis to set
    • getYAxis

      public Axis getYAxis()
      Returns:
      the yAxis
    • setYAxis

      public void setYAxis​(Axis axis)
      Parameters:
      axis - the yAxis to set
    • getTraceColor

      public org.eclipse.swt.graphics.Color getTraceColor()
      Returns:
      the traceColor
    • setTraceColor

      public void setTraceColor​(org.eclipse.swt.graphics.Color traceColor)
      Parameters:
      traceColor - the traceColor to set
    • getTraceType

      public Trace.TraceType getTraceType()
      Returns:
      the traceType
    • setTraceType

      public void setTraceType​(Trace.TraceType traceType)
      Parameters:
      traceType - the traceType to set
    • getLineWidth

      public int getLineWidth()
      Returns:
      the lineWidth
    • setLineWidth

      public void setLineWidth​(int lineWidth)
      Parameters:
      lineWidth - the lineWidth to set
    • getPointStyle

      public Trace.PointStyle getPointStyle()
      Returns:
      the pointStyle
    • setPointStyle

      public void setPointStyle​(Trace.PointStyle pointStyle)
      Parameters:
      pointStyle - the pointStyle to set
    • getPointSize

      public int getPointSize()
      Returns:
      the pointSize
    • setPointSize

      public void setPointSize​(int pointSize)
      Parameters:
      pointSize - the pointSize to set
    • getBaseLine

      public Trace.BaseLine getBaseLine()
      Returns:
      the baseLine
    • setBaseLine

      public void setBaseLine​(Trace.BaseLine baseLine)
      Parameters:
      baseLine - the baseLine to set
    • getAreaAlpha

      public int getAreaAlpha()
      Returns:
      the areaAlpha
    • setAreaAlpha

      public void setAreaAlpha​(int areaAlpha)
      Parameters:
      areaAlpha - the areaAlpha to set
    • isAntiAliasing

      public boolean isAntiAliasing()
      Returns:
      the antiAliasing
    • setAntiAliasing

      public void setAntiAliasing​(boolean antiAliasing)
      Parameters:
      antiAliasing - the antiAliasing to set
    • isErrorBarEnabled

      public boolean isErrorBarEnabled()
      Returns:
      the errorBarEnabled
    • setErrorBarEnabled

      public void setErrorBarEnabled​(boolean errorBarEnabled)
      Parameters:
      errorBarEnabled - the errorBarEnabled to set
    • getXErrorBarType

      public Trace.ErrorBarType getXErrorBarType()
      Returns:
      the xErrorBarType
    • setXErrorBarType

      public void setXErrorBarType​(Trace.ErrorBarType errorBarType)
      Parameters:
      errorBarType - the xErrorBarType to set
    • getYErrorBarType

      public Trace.ErrorBarType getYErrorBarType()
      Returns:
      the yErrorBarType
    • setYErrorBarType

      public void setYErrorBarType​(Trace.ErrorBarType errorBarType)
      Parameters:
      errorBarType - the yErrorBarType to set
    • getErrorBarColor

      public org.eclipse.swt.graphics.Color getErrorBarColor()
      Returns:
      the errorBarColor
    • setErrorBarColor

      public void setErrorBarColor​(org.eclipse.swt.graphics.Color errorBarColor)
      Parameters:
      errorBarColor - the errorBarColor to set
    • getErrorBarCapWidth

      public int getErrorBarCapWidth()
      Returns:
      the errorBarCapWidth
    • setErrorBarCapWidth

      public void setErrorBarCapWidth​(int errorBarCapWidth)
      Parameters:
      errorBarCapWidth - the errorBarCapWidth to set
    • isDrawYErrorInArea

      public boolean isDrawYErrorInArea()
      Returns:
      the drawYErrorInArea
    • setDrawYErrorInArea

      public void setDrawYErrorInArea​(boolean drawYErrorInArea)
      Parameters:
      drawYErrorInArea - the drawYErrorInArea to set