public class JRBaseDataRange extends java.lang.Object implements JRDataRange, java.io.Serializable
JRDataRange
, suitable for holding
a range.Modifier and Type | Field and Description |
---|---|
protected JRExpression |
highExpression
The expression used to calculate the upper bound of the range.
|
protected JRExpression |
lowExpression
The expression used to calculate the lower bound of the range.
|
Constructor and Description |
---|
JRBaseDataRange(JRDataRange dataRange)
Constructs a copy of an existing range.
|
JRBaseDataRange(JRDataRange dataRange,
JRBaseObjectFactory factory)
Creates a copy of an existing range and registers all of the expressions
with a factory object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
collectExpressions(JRExpressionCollector collector)
Registers all of the expressions with the collector.
|
JRExpression |
getHighExpression()
Returns the expression that generates the upper bound of the range.
|
JRExpression |
getLowExpression()
Returns the expression that generates the lower bound of the range.
|
protected JRExpression lowExpression
protected JRExpression highExpression
public JRBaseDataRange(JRDataRange dataRange)
dataRange
- the range to copypublic JRBaseDataRange(JRDataRange dataRange, JRBaseObjectFactory factory)
dataRange
- the range to copyfactory
- the factory to register the expressions withpublic JRExpression getLowExpression()
JRDataRange
getLowExpression
in interface JRDataRange
public JRExpression getHighExpression()
JRDataRange
getHighExpression
in interface JRDataRange
public void collectExpressions(JRExpressionCollector collector)
collector
- the expression collector to usepublic java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com