Klasse DateRange
java.lang.Object
com.inet.report.chart.axis.DateRange
- Alle implementierten Schnittstellen:
Serializable
Specifies a range of dates for i-net Clear Reports charts.
- Seit:
- 8.0
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungReturns the manually set lower bound.Returns the manually set lower bound formula.Returns the upper bound.Returns the manually set upper bound formula.booleanReturns whether or not the range will be defined automatically, i.e. at run-time, and depending on the values in the chart.voidsetAutoRange(boolean autoRange) Sets whether or not the range is to be defined automatically, i.e. at run-time, and depending on the values in the chart.voidsetLowerBound(Date lower) Manually sets the lower bound.voidsetLowerBoundFormula(FormulaField lowerBoundFormula) Manually sets the lower bound formula.voidsetUpperBound(Date upper) Manually sets the upper bound.voidsetUpperBoundFormula(FormulaField upperBoundFormula) Manually sets the upper bound formula.
-
Konstruktordetails
-
DateRange
public DateRange()Creates a range controller for the date values. The default state of this range is automatic.- Seit:
- 8.0
-
DateRange
Sets a specific range, causing this range to no longer be an automatic range.- Parameter:
lower- the lower bound of rangeupper- the upper bound of range- Löst aus:
IllegalArgumentException- if lower or upper is null or if the upper value is lower than the lower value- Seit:
- 8.0
-
-
Methodendetails
-
isAutoRange
public boolean isAutoRange()Returns whether or not the range will be defined automatically, i.e. at run-time, and depending on the values in the chart.- Gibt zurück:
- whether or not the range will be defined automatically, i.e. depending on the values in the chart.
- Seit:
- 8.0
- Siehe auch:
-
setAutoRange
public void setAutoRange(boolean autoRange) Sets whether or not the range is to be defined automatically, i.e. at run-time, and depending on the values in the chart.- Parameter:
autoRange- whether the range is to be defined automatically at run-time- Seit:
- 8.0
- Siehe auch:
-
getLowerBound
Returns the manually set lower bound. Note that if this range is set to be defined automatically at run-time, that the lower bound could end up being a different one than the one returned here.- Gibt zurück:
- the lower bound.
- Seit:
- 8.0
- Siehe auch:
-
setLowerBound
Manually sets the lower bound. Note that if this range is set to be defined automatically at run-time, that the lower bound could end up being a different one than the one being set here.- Parameter:
lower- the lower bound (nullnot permitted)- Löst aus:
IllegalArgumentException- if the parameter is greater than upper bound.- Seit:
- 8.0
- Siehe auch:
-
getLowerBoundFormula
Returns the manually set lower bound formula.- Gibt zurück:
- the lower bound formula.
- Seit:
- 23.4
-
setLowerBoundFormula
Manually sets the lower bound formula. Note that if this range is set to be defined automatically at run-time, that the lower bound could end up being a different one than the one being set here.- Parameter:
lowerBoundFormula- the lower bound formula (nullnot permitted)- Seit:
- 23.4
-
getUpperBound
Returns the upper bound. Note that if this range is set to be defined automatically at run-time, that the upper bound could end up being a different one than the one returned here.- Gibt zurück:
- the upper bound.
- Seit:
- 8.0
- Siehe auch:
-
setUpperBound
Manually sets the upper bound. Note that if this range is set to be defined automatically at run-time, that the upper bound could end up being a different one than the one being set here.- Parameter:
upper- the upper bound (nullnot permitted)- Löst aus:
IllegalArgumentException- if the parameter is less than lower bound.- Seit:
- 8.0
- Siehe auch:
-
getUpperBoundFormula
Returns the manually set upper bound formula.- Gibt zurück:
- the upper bound formula.
- Seit:
- 23.4
-
setUpperBoundFormula
Manually sets the upper bound formula. Note that if this range is set to be defined automatically at run-time, that the upper bound could end up being a different one than the one returned here.- Parameter:
upperBoundFormula- the upper bound formula (nullnot permitted)- Seit:
- 23.4
-