|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.chart.axis.DateRange
public class DateRange
Specifies a range of dates for i-net Clear Reports charts.
| Constructor Summary | |
|---|---|
DateRange()
Creates a range controller for the date values. |
|
DateRange(java.util.Date lower,
java.util.Date upper)
Sets a specific range, causing this range to no longer be an automatic range. |
|
| Method Summary | |
|---|---|
java.util.Date |
getLowerBound()
Returns the manually set lower bound. |
java.util.Date |
getUpperBound()
Returns the upper bound. |
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. |
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. |
void |
setLowerBound(java.util.Date lower)
Manually sets the lower bound. |
void |
setUpperBound(java.util.Date upper)
Manually sets the upper bound. |
| Constructor Detail |
|---|
public DateRange()
public DateRange(java.util.Date lower,
java.util.Date upper)
lower - the lower bound of rangeupper - the upper bound of range
java.lang.IllegalArgumentException - if lower or upper is null or if the upper value is lower than the lower value| Method Detail |
|---|
public boolean isAutoRange()
setAutoRange(boolean)public void setAutoRange(boolean autoRange)
autoRange - whether the range is to be defined automatically at run-timeisAutoRange()public java.util.Date getLowerBound()
setLowerBound(Date)public void setLowerBound(java.util.Date lower)
lower - the lower bound (null not permitted)
java.lang.IllegalArgumentException - if the parameter is greater than upper bound.getLowerBound()public java.util.Date getUpperBound()
setUpperBound(Date)public void setUpperBound(java.util.Date upper)
upper - the upper bound (null not permitted)
java.lang.IllegalArgumentException - if the parameter is less than lower bound.getUpperBound()
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||