public class AxisMemento
extends java.lang.Object
Constructor and Description |
---|
AxisMemento() |
Modifier and Type | Method and Description |
---|---|
double |
getAutoScaleThreshold() |
org.eclipse.swt.graphics.Color |
getForegroundColor() |
java.lang.String |
getFormatPattern() |
org.eclipse.swt.graphics.Color |
getMajorGridColor() |
Range |
getRange() |
java.lang.String |
getTitle() |
org.eclipse.swt.graphics.Font |
getTitleFont() |
boolean |
isAutoFormat() |
boolean |
isAutoScale() |
boolean |
isDashGridLine() |
boolean |
isDateEnabled() |
boolean |
isLogScaleEnabled() |
boolean |
isOnPrimarySide() |
boolean |
isShowMajorGrid() |
void |
setAutoFormat(boolean autoFormat) |
void |
setAutoScale(boolean autoScale) |
void |
setAutoScaleThreshold(double autoScaleThreshold) |
void |
setDashGridLine(boolean dashGridLine) |
void |
setDateEnabled(boolean dateEnabled) |
void |
setForegroundColor(org.eclipse.swt.graphics.Color foreGroundColor) |
void |
setFormatPattern(java.lang.String formatPattern) |
void |
setLogScale(boolean logScale) |
void |
setMajorGridColor(org.eclipse.swt.graphics.Color majorGridColor) |
void |
setPrimarySide(boolean onPrimarySide) |
void |
setRange(Range range) |
void |
setShowMajorGrid(boolean showMajorGrid) |
void |
setTitle(java.lang.String title) |
void |
setTitleFont(org.eclipse.swt.graphics.Font font) |
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic org.eclipse.swt.graphics.Font getTitleFont()
public void setTitleFont(org.eclipse.swt.graphics.Font font)
font
- the font to setpublic org.eclipse.swt.graphics.Color getForegroundColor()
public void setForegroundColor(org.eclipse.swt.graphics.Color foreGroundColor)
foreGroundColor
- the foreGroundColor to setpublic boolean isOnPrimarySide()
public void setPrimarySide(boolean onPrimarySide)
onPrimarySide
- the onPrimarySide to setpublic boolean isLogScaleEnabled()
public void setLogScale(boolean logScale)
logScale
- the logScale to setpublic boolean isAutoScale()
public void setAutoScale(boolean autoScale)
autoScale
- the autoScale to setpublic double getAutoScaleThreshold()
public void setAutoScaleThreshold(double autoScaleThreshold)
autoScaleThreshold
- the autoScaleThreshold to setpublic Range getRange()
public void setRange(Range range)
range
- the range to setpublic boolean isDateEnabled()
public void setDateEnabled(boolean dateEnabled)
dateEnabled
- the dateEnabled to setpublic boolean isAutoFormat()
public void setAutoFormat(boolean autoFormat)
autoFormat
- the autoFormat to setpublic java.lang.String getFormatPattern()
public void setFormatPattern(java.lang.String formatPattern)
formatPattern
- the formatPattern to setpublic boolean isShowMajorGrid()
public void setShowMajorGrid(boolean showMajorGrid)
showMajorGrid
- the showMajorGrid to setpublic boolean isDashGridLine()
public void setDashGridLine(boolean dashGridLine)
dashGridLine
- the dashGridLine to setpublic org.eclipse.swt.graphics.Color getMajorGridColor()
public void setMajorGridColor(org.eclipse.swt.graphics.Color majorGridColor)
majorGridColor
- the majorGridColor to set