net.sf.jasperreports.charts.design
Class JRDesignDataRange

java.lang.Object
  extended by net.sf.jasperreports.charts.base.JRBaseDataRange
      extended by net.sf.jasperreports.charts.design.JRDesignDataRange
All Implemented Interfaces:
java.io.Serializable, JRDataRange

public class JRDesignDataRange
extends JRBaseDataRange

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.

Version:
$Id: JRDesignDataRange.java 1386 2006-09-06 00:33:02 +0300 (Wed, 06 Sep 2006) bklawans $
Author:
Barry Klawans (bklawans@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.jasperreports.charts.base.JRBaseDataRange
highExpression, lowExpression
 
Constructor Summary
JRDesignDataRange(JRDataRange dataRange)
          Constructs a new data range that is a copy of an existing one.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRDesignDataRange

public JRDesignDataRange(JRDataRange dataRange)
Constructs a new data range that is a copy of an existing one.

Parameters:
dataRange - the range to copy
Method Detail

setLowExpression

public void setLowExpression(JRExpression lowExpression)
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

public void setHighExpression(JRExpression highExpression)
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


© 2001-2006 JasperSoft Corporation www.jaspersoft.com