|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.charts.base.JRBaseDataRange
public class JRBaseDataRange
An immutable instantiation of a JRDataRange
, suitable for holding
a range.
Field Summary | |
---|---|
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 Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JRExpression lowExpression
protected JRExpression highExpression
Constructor Detail |
---|
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 withMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |