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 voidCalculates smart limits for the X axis and sets these limits to GridLimitsprotected voidCalculates smart limits for the Y axis and sets these limits to GridLimitsvoidSets the limits by using smart procedure for x-axisvoidSets the limits by using smart procedure for x-axisMethods inherited from class xal.extension.widgets.plot.SmartFormatGridLimits
getSmartFormatMethods 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:
setSmartLimitsXin classSmartFormatGridLimits
-
setSmartLimitsY
public void setSmartLimitsY()Sets the limits by using smart procedure for x-axis- Overrides:
setSmartLimitsYin classSmartFormatGridLimits
-
calculateScalesAndLimitsX
protected void calculateScalesAndLimitsX()Calculates smart limits for the X axis and sets these limits to GridLimits- Overrides:
calculateScalesAndLimitsXin classSmartFormatGridLimits
-
calculateScalesAndLimitsY
protected void calculateScalesAndLimitsY()Calculates smart limits for the Y axis and sets these limits to GridLimits- Overrides:
calculateScalesAndLimitsYin classSmartFormatGridLimits
-