|
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.NumberRange
public class NumberRange
Class representing a range of number values.
| Constructor Summary | |
|---|---|
NumberRange()
Creates a range of the number values. |
|
NumberRange(double lower,
double upper)
Creates a range for the number values given. |
|
| Method Summary | |
|---|---|
java.lang.Double |
getLowerBound()
Returns the manually set lower bound of this range. |
java.lang.Double |
getUpperBound()
Returns the manually set upper bound of this range. |
boolean |
isAutoRange()
Returns whether or not the range will be defined automatically instead of using the manually set values. |
void |
setAutoRange(boolean autoRange)
Sets whether or not the range will be defined automatically instead of using the manually set values. |
void |
setLowerBound(java.lang.Double lower)
Manually sets the lower bound of this range. |
void |
setUpperBound(java.lang.Double upper)
Sets the manually set upper bound of this range. |
| Constructor Detail |
|---|
public NumberRange()
public NumberRange(double lower,
double upper)
lower - the lower bound of rangeupper - the upper bound of range
java.lang.IllegalArgumentException - if the upper value is less than the lower value| Method Detail |
|---|
public boolean isAutoRange()
setAutoRange(boolean)public void setAutoRange(boolean autoRange)
autoRange - whether the range will be defined automaticallyisAutoRange()public java.lang.Double getLowerBound()
null if this bound was not setsetLowerBound(Double),
setAutoRange(boolean)public void setLowerBound(java.lang.Double lower)
lower - the lower bound of this range
java.lang.IllegalArgumentException - if the parameter is greater than upper bound.getLowerBound()public java.lang.Double getUpperBound()
null if this bound was not set.setUpperBound(Double)public void setUpperBound(java.lang.Double upper)
upper - the upper bound of this range
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 | |||||||