Package xal.extension.widgets.plot
Class SmartGridLimits
java.lang.Object
xal.extension.widgets.plot.GridLimits
xal.extension.widgets.plot.SmartFormatGridLimits
xal.extension.widgets.plot.SmartGridLimits
This is subclass of grid limits class (SmartFormatGridLimits ) with non-empty
setSmartLimitsX() and setSmartLimitsY() methods. These methods will redefine
format and limits to beautify the axes markers
- Version:
- 1.0
- Author:
- shishlo
-
Field Summary
Fields inherited from class xal.extension.widgets.plot.SmartFormatGridLimits
scientificFormats, simpleFormats, sucessX, sucessY, univFormat, xSR, ySR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Calculates smart limits for the X axis and sets these limits to GridLimitsprotected void
Calculates smart limits for the Y axis and sets these limits to GridLimitsvoid
Sets the limits by using smart procedure for x-axisvoid
Sets the limits by using smart procedure for x-axisMethods inherited from class xal.extension.widgets.plot.SmartFormatGridLimits
getSmartFormat
Methods inherited from class xal.extension.widgets.plot.GridLimits
getColor, getGridLimitsSwitch, getMajorTicksOnX, getMajorTicksOnY, getMaxX, getMaxY, getMinX, getMinY, getNumberFormatX, getNumberFormatY, getNumMajorTicksX, getNumMajorTicksY, getNumMinorTicksX, getNumMinorTicksY, initialize, initializeX, initializeY, isSetXmax, isSetXmin, isSetYmax, isSetYmin, setColor, setGridLimitsSwitch, setLimitsAndTicksX, setLimitsAndTicksX, setLimitsAndTicksX, setLimitsAndTicksX, setLimitsAndTicksY, setLimitsAndTicksY, setLimitsAndTicksY, setLimitsAndTicksY, setMajorTicksOnX, setMajorTicksOnY, setNumberFormatX, setNumberFormatY, setNumMajorTicksX, setNumMajorTicksY, setNumMinorTicksX, setNumMinorTicksY, setSmartLimits, setXmax, setXmaxOn, setXmin, setXminOn, setYmax, setYmaxOn, setYmin, setYminOn
-
Constructor Details
-
SmartGridLimits
public SmartGridLimits()Constructor for the SmartGridLimits object
-
-
Method Details
-
setSmartLimitsX
public void setSmartLimitsX()Sets the limits by using smart procedure for x-axis- Overrides:
setSmartLimitsX
in classSmartFormatGridLimits
-
setSmartLimitsY
public void setSmartLimitsY()Sets the limits by using smart procedure for x-axis- Overrides:
setSmartLimitsY
in classSmartFormatGridLimits
-
calculateScalesAndLimitsX
protected void calculateScalesAndLimitsX()Calculates smart limits for the X axis and sets these limits to GridLimits- Overrides:
calculateScalesAndLimitsX
in classSmartFormatGridLimits
-
calculateScalesAndLimitsY
protected void calculateScalesAndLimitsY()Calculates smart limits for the Y axis and sets these limits to GridLimits- Overrides:
calculateScalesAndLimitsY
in classSmartFormatGridLimits
-