Package hec.geometry
Interface ScaleProperties
- All Known Implementing Classes:
AxisProp
public interface ScaleProperties
-
Method Summary
Modifier and TypeMethodDescriptionboolean
double
Returns the current maximum scale value of the current view.double
Returns the current min scale value.double
Returns the interval between the minor ticsdouble
Gets the maximum value for an axis scale.double
Retruns the interval between the major ticsdouble
Gets the minimum value for an Axis Scale.int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setActualMaxScaleValue
(double val) void
setActualMinScaleValue
(double val) void
setAutoComputeMajorTics
(boolean m) void
setAutoComputeMinorTics
(boolean m) void
setAutomaticMax
(boolean m) void
setAutomaticMin
(boolean m) void
setAutomaticViewMax
(boolean m) void
setAutomaticViewMin
(boolean m) void
setMajorTicInterval
(double interval) Sets the spacing between the minor ticsvoid
setMaxScaleValue
(double val) void
setMinorTicInterval
(double interval) Sets the spacing between each of the Major Ticsvoid
setMinScaleValue
(double val) Sets the new minimum scale value for an axis.void
setNumTicLevels
(int level) void
setReversed
(boolean m) void
setSwapXYAxis
(boolean b) boolean
-
Method Details
-
getMinScaleValue
double getMinScaleValue()Gets the minimum value for an Axis Scale. The scale for an axis is bounded on the bottom by the minimum scale value- See Also:
-
getMaxScaleValue
double getMaxScaleValue()Gets the maximum value for an axis scale. The axis is bounded on the top by the maximum scale value -
getMinorTicInterval
double getMinorTicInterval()Retruns the interval between the major tics -
getMajorTicInterval
double getMajorTicInterval()Returns the interval between the minor tics -
getActualMinScaleValue
double getActualMinScaleValue()Returns the current min scale value. This value represents the mininum value of the current view. This value must be greater than the minimum scale value -
getActualMaxScaleValue
double getActualMaxScaleValue()Returns the current maximum scale value of the current view. This number must be less than the maximum scale value and greater than the Actual Min Scale value. -
setMinorTicInterval
void setMinorTicInterval(double interval) Sets the spacing between each of the Major Tics- Parameters:
interval
- the interval to use for the major tics
-
setMajorTicInterval
void setMajorTicInterval(double interval) Sets the spacing between the minor tics- Parameters:
interval
- The spacing to use between minor tics
-
setMinScaleValue
void setMinScaleValue(double val) Sets the new minimum scale value for an axis. This either limits or extends the minimum value for the axis- Parameters:
val
-
-
setMaxScaleValue
void setMaxScaleValue(double val) -
setActualMaxScaleValue
void setActualMaxScaleValue(double val) -
setActualMinScaleValue
void setActualMinScaleValue(double val) -
isAutomaticMin
boolean isAutomaticMin() -
isAutomaticMax
boolean isAutomaticMax() -
setAutomaticMin
void setAutomaticMin(boolean m) -
setAutomaticMax
void setAutomaticMax(boolean m) -
isAutomaticViewMax
boolean isAutomaticViewMax() -
isAutomaticViewMin
boolean isAutomaticViewMin() -
setAutomaticViewMin
void setAutomaticViewMin(boolean m) -
setAutomaticViewMax
void setAutomaticViewMax(boolean m) -
setReversed
void setReversed(boolean m) -
isReversed
boolean isReversed() -
canSwapXYAxis
boolean canSwapXYAxis() -
swapXYAxis
boolean swapXYAxis() -
setSwapXYAxis
void setSwapXYAxis(boolean b) -
isAutoComputeMajorTics
boolean isAutoComputeMajorTics() -
isAutoComputeMinorTics
boolean isAutoComputeMinorTics() -
setAutoComputeMajorTics
void setAutoComputeMajorTics(boolean m) -
setAutoComputeMinorTics
void setAutoComputeMinorTics(boolean m) -
getNumTicLevels
int getNumTicLevels() -
setNumTicLevels
void setNumTicLevels(int level)
-