Class JRDesignDataRange
java.lang.Object
net.sf.jasperreports.charts.base.JRBaseDataRange
net.sf.jasperreports.charts.design.JRDesignDataRange
- All Implemented Interfaces:
Serializable
,Cloneable
,JRDataRange
,JRChangeEventsSupport
,JRCloneable
Contains a range of values. Used to specify the set of acceptable values
for a meter or thermometer, and to divide those charts up into subsections.
- Author:
- Barry Klawans (bklawans@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsFields inherited from class net.sf.jasperreports.charts.base.JRBaseDataRange
highExpression, lowExpression
-
Constructor Summary
ConstructorsConstructorDescriptionJRDesignDataRange
(JRDataRange dataRange) Constructs a new data range that is a copy of an existing one. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns the property change support object for this instance.void
setHighExpression
(JRExpression highExpression) Sets the high expression of the range.void
setLowExpression
(JRExpression lowExpression) Sets the low expression of the range.Methods inherited from class net.sf.jasperreports.charts.base.JRBaseDataRange
collectExpressions, getHighExpression, getLowExpression
-
Field Details
-
PROPERTY_HIGH_EXPRESSION
- See Also:
-
PROPERTY_LOW_EXPRESSION
- See Also:
-
-
Constructor Details
-
JRDesignDataRange
Constructs a new data range that is a copy of an existing one.- Parameters:
dataRange
- the range to copy
-
-
Method Details
-
setLowExpression
Sets the low expression of the range. The low expression is evaluted to get the lower bound of the range.- Parameters:
lowExpression
- used to get the lower bound of the range
-
setHighExpression
Sets the high expression of the range. The high expression is used to get the upper bound of the range.- Parameters:
highExpression
- used to get the upper bound of the range
-
clone
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseDataRange
-
getEventSupport
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-