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 Summary
Constructors Constructor Description TraceMemento()
-
Method Summary
Modifier and Type Method Description int
getAreaAlpha()
Trace.BaseLine
getBaseLine()
int
getErrorBarCapWidth()
org.eclipse.swt.graphics.Color
getErrorBarColor()
int
getLineWidth()
java.lang.String
getName()
int
getPointSize()
Trace.PointStyle
getPointStyle()
org.eclipse.swt.graphics.Color
getTraceColor()
Trace.TraceType
getTraceType()
Axis
getXAxis()
Trace.ErrorBarType
getXErrorBarType()
Axis
getYAxis()
Trace.ErrorBarType
getYErrorBarType()
boolean
isAntiAliasing()
boolean
isDrawYErrorInArea()
boolean
isErrorBarEnabled()
void
setAntiAliasing(boolean antiAliasing)
void
setAreaAlpha(int areaAlpha)
void
setBaseLine(Trace.BaseLine baseLine)
void
setDrawYErrorInArea(boolean drawYErrorInArea)
void
setErrorBarCapWidth(int errorBarCapWidth)
void
setErrorBarColor(org.eclipse.swt.graphics.Color errorBarColor)
void
setErrorBarEnabled(boolean errorBarEnabled)
void
setLineWidth(int lineWidth)
void
setName(java.lang.String name)
void
setPointSize(int pointSize)
void
setPointStyle(Trace.PointStyle pointStyle)
void
setTraceColor(org.eclipse.swt.graphics.Color traceColor)
void
setTraceType(Trace.TraceType traceType)
void
setXAxis(Axis axis)
void
setXErrorBarType(Trace.ErrorBarType errorBarType)
void
setYAxis(Axis axis)
void
setYErrorBarType(Trace.ErrorBarType errorBarType)
-
Constructor Details
-
TraceMemento
public TraceMemento()
-
-
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
- Returns:
- the xAxis
-
setXAxis
- Parameters:
axis
- the xAxis to set
-
getYAxis
- Returns:
- the yAxis
-
setYAxis
- 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
- Returns:
- the traceType
-
setTraceType
- 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
- Returns:
- the pointStyle
-
setPointStyle
- 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
- Returns:
- the baseLine
-
setBaseLine
- 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
- Returns:
- the xErrorBarType
-
setXErrorBarType
- Parameters:
errorBarType
- the xErrorBarType to set
-
getYErrorBarType
- Returns:
- the yErrorBarType
-
setYErrorBarType
- 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
-