Klasse NumberRange
java.lang.Object
com.inet.report.chart.axis.NumberRange
- Alle implementierten Schnittstellen:
Serializable
Class representing a range of number values.
- Seit:
- 8.0
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCreates a range of the number values.NumberRange(double lower, double upper) Creates a range for the number values given. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the manually set lower bound of this range.Returns the manually set upper bound of this range.booleanReturns whether or not the range will be defined automatically instead of using the manually set values.voidsetAutoRange(boolean autoRange) Sets whether or not the range will be defined automatically instead of using the manually set values.voidsetLowerBound(Double lower) Manually sets the lower bound of this range.voidsetUpperBound(Double upper) Sets the manually set upper bound of this range.
-
Konstruktordetails
-
NumberRange
public NumberRange()Creates a range of the number values. The default state of this range is that it is to be generated automatically at run-time.- Seit:
- 8.0
-
NumberRange
public NumberRange(double lower, double upper) Creates a range for the number values given.- Parameter:
lower- the lower bound of rangeupper- the upper bound of range- Löst aus:
IllegalArgumentException- if the upper value is less than the lower value- Seit:
- 8.0
-
-
Methodendetails
-
isAutoRange
public boolean isAutoRange()Returns whether or not the range will be defined automatically instead of using the manually set values.- Gibt zurück:
- the flag.
- Seit:
- 8.0
- Siehe auch:
-
setAutoRange
public void setAutoRange(boolean autoRange) Sets whether or not the range will be defined automatically instead of using the manually set values.- Parameter:
autoRange- whether the range will be defined automatically- Seit:
- 8.0
- Siehe auch:
-
getLowerBound
Returns the manually set lower bound of this range. Note that this value will only be used if this range is set to not be automatic, but manual.- Gibt zurück:
- the lower bound or
nullif this bound was not set - Seit:
- 8.0
- Siehe auch:
-
setLowerBound
Manually sets the lower bound of this range. Note that this value will only be used if this range is set to not be automatic, but manual.- Parameter:
lower- the lower bound of this range- Löst aus:
IllegalArgumentException- if the parameter is greater than upper bound.- Seit:
- 8.0
- Siehe auch:
-
getUpperBound
Returns the manually set upper bound of this range. Note that this value will only be used if this range is set to not be automatic, but manual.- Gibt zurück:
- the upper bound or
nullif this bound was not set. - Seit:
- 8.0
- Siehe auch:
-
setUpperBound
Sets the manually set upper bound of this range. Note that this value will only be used if this range is set to not be automatic, but manual.- Parameter:
upper- the upper bound of this range- Löst aus:
IllegalArgumentException- if the parameter is less than lower bound.- Seit:
- 8.0
- Siehe auch:
-