Klasse DateRange

java.lang.Object
com.inet.report.chart.axis.DateRange
Alle implementierten Schnittstellen:
Serializable

public class DateRange extends Object implements Serializable
Specifies a range of dates for i-net Clear Reports charts.
Seit:
8.0
Siehe auch:
  • Konstruktordetails

    • DateRange

      public DateRange()
      Creates a range controller for the date values. The default state of this range is automatic.
      Seit:
      8.0
    • DateRange

      public DateRange(Date lower, Date upper)
      Sets a specific range, causing this range to no longer be an automatic range.
      Parameter:
      lower - the lower bound of range
      upper - 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

      public Date 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

      public void setLowerBound(Date lower)
      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 (null not permitted)
      Löst aus:
      IllegalArgumentException - if the parameter is greater than upper bound.
      Seit:
      8.0
      Siehe auch:
    • getLowerBoundFormula

      public FormulaField getLowerBoundFormula()
      Returns the manually set lower bound formula.
      Gibt zurück:
      the lower bound formula.
      Seit:
      23.4
    • setLowerBoundFormula

      public void setLowerBoundFormula(FormulaField lowerBoundFormula)
      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 (null not permitted)
      Seit:
      23.4
    • getUpperBound

      public Date 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

      public void setUpperBound(Date upper)
      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 (null not permitted)
      Löst aus:
      IllegalArgumentException - if the parameter is less than lower bound.
      Seit:
      8.0
      Siehe auch:
    • getUpperBoundFormula

      public FormulaField getUpperBoundFormula()
      Returns the manually set upper bound formula.
      Gibt zurück:
      the upper bound formula.
      Seit:
      23.4
    • setUpperBoundFormula

      public void setUpperBoundFormula(FormulaField upperBoundFormula)
      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 (null not permitted)
      Seit:
      23.4