public class JRBaseDataRange extends Object implements JRDataRange, 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 |
|---|---|
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()
JRDataRangegetLowExpression in interface JRDataRangepublic JRExpression getHighExpression()
JRDataRangegetHighExpression in interface JRDataRangepublic void collectExpressions(JRExpressionCollector collector)
collector - the expression collector to usepublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2017. All rights reserved.