public class AnnotationMemento
extends java.lang.Object
Constructor and Description |
---|
AnnotationMemento() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.graphics.Color |
getAnnotationColor() |
Annotation.CursorLineStyle |
getCursorLineStyle() |
org.eclipse.swt.graphics.Font |
getFont() |
java.lang.String |
getName() |
Trace |
getTrace() |
Axis |
getXAxis() |
Axis |
getYAxis() |
boolean |
isFree() |
boolean |
isShowName() |
boolean |
isShowPosition() |
boolean |
isShowSampleInfo() |
void |
setAnnotationColor(org.eclipse.swt.graphics.Color annotationColor) |
void |
setCursorLineStyle(Annotation.CursorLineStyle cursorLineStyle) |
void |
setFont(org.eclipse.swt.graphics.Font font) |
void |
setFree(boolean free) |
void |
setName(java.lang.String name) |
void |
setShowName(boolean showName) |
void |
setShowPosition(boolean showPosition) |
void |
setShowSampleInfo(boolean showSampleInfo) |
void |
setTrace(Trace trace) |
void |
setXAxis(Axis xAxis) |
void |
setYAxis(Axis yAxis) |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic boolean isFree()
public void setFree(boolean free)
free
- the free to setpublic Trace getTrace()
public void setTrace(Trace trace)
trace
- the trace to setpublic org.eclipse.swt.graphics.Color getAnnotationColor()
public void setAnnotationColor(org.eclipse.swt.graphics.Color annotationColor)
annotationColor
- the annotationColor to setpublic org.eclipse.swt.graphics.Font getFont()
public void setFont(org.eclipse.swt.graphics.Font font)
font
- the font to setpublic Annotation.CursorLineStyle getCursorLineStyle()
public void setCursorLineStyle(Annotation.CursorLineStyle cursorLineStyle)
cursorLineStyle
- the cursorLineStyle to setpublic boolean isShowName()
public void setShowName(boolean showName)
showName
- the showName to setpublic boolean isShowSampleInfo()
public void setShowSampleInfo(boolean showSampleInfo)
showSampleInfo
- the showSampleInfo to setpublic boolean isShowPosition()
public void setShowPosition(boolean showPosition)
showPosition
- the showPosition to setpublic void setYAxis(Axis yAxis)
yAxis
- the yAxis to setpublic Axis getYAxis()
public void setXAxis(Axis xAxis)
xAxis
- the xAxis to setpublic Axis getXAxis()