|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillVariable
public class JRFillVariable
| Field Summary | |
|---|---|
static byte |
HELPER_COUNT
Constant for the count helper variable. |
static byte |
HELPER_SUM
Constant for the count sum variable. |
static byte |
HELPER_VARIANCE
Constant for the count variance variable. |
protected JRVariable |
parent
|
| Fields inherited from interface net.sf.jasperreports.engine.JRVariable |
|---|
CALCULATION_AVERAGE, CALCULATION_COUNT, CALCULATION_HIGHEST, CALCULATION_LOWEST, CALCULATION_NOTHING, CALCULATION_STANDARD_DEVIATION, CALCULATION_SUM, CALCULATION_SYSTEM, CALCULATION_VARIANCE, COLUMN_COUNT, COLUMN_NUMBER, PAGE_COUNT, PAGE_NUMBER, REPORT_COUNT, RESET_TYPE_COLUMN, RESET_TYPE_GROUP, RESET_TYPE_NONE, RESET_TYPE_PAGE, RESET_TYPE_REPORT |
| Constructor Summary | |
|---|---|
protected |
JRFillVariable(JRVariable variable,
JRFillObjectFactory factory)
|
| Method Summary | |
|---|---|
byte |
getCalculation()
Returns the variable calculation type. |
java.lang.Object |
getEstimatedValue()
|
JRExpression |
getExpression()
Returns the main expression for this variable. |
JRFillVariable |
getHelperVariable(byte type)
Returns a helper variable. |
java.lang.Object |
getIncrementedValue()
|
JRIncrementer |
getIncrementer()
|
java.lang.Class |
getIncrementerFactoryClass()
Returns the class of the incrementer factory used for choosing the right incrementer for the variable value. |
java.lang.String |
getIncrementerFactoryClassName()
Returns the string name of the variable value class. |
JRGroup |
getIncrementGroup()
Returns the group whose break triggers the variable increment. |
byte |
getIncrementType()
Returns the variable increment type. |
JRExpression |
getInitialValueExpression()
Returns the initial value expression for this variable. |
java.lang.String |
getName()
Returns the name of the variable. |
java.lang.Object |
getOldValue()
|
JRGroup |
getResetGroup()
Returns the group whose break triggers the variable reset. |
byte |
getResetType()
Returns the variable reset type. |
java.lang.Object |
getValue()
|
java.lang.Class |
getValueClass()
Returns the class of the variable value. |
java.lang.String |
getValueClassName()
Returns the string name of the variable value class. |
boolean |
isInitialized()
|
boolean |
isSystemDefined()
Returns true if the variable calculation type is system defined. |
void |
setEstimatedValue(java.lang.Object estimatedValue)
|
JRFillVariable |
setHelperVariable(JRFillVariable helperVariable,
byte type)
Sets a helper variable. |
void |
setIncrementedValue(java.lang.Object incrementedValue)
|
void |
setInitialized(boolean isInitialized)
|
void |
setOldValue(java.lang.Object oldValue)
|
void |
setValue(java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JRVariable parent
public static final byte HELPER_COUNT
public static final byte HELPER_SUM
public static final byte HELPER_VARIANCE
| Constructor Detail |
|---|
protected JRFillVariable(JRVariable variable,
JRFillObjectFactory factory)
| Method Detail |
|---|
public java.lang.String getName()
JRVariable
getName in interface JRVariablepublic java.lang.Class getValueClass()
JRVariable
getValueClass in interface JRVariablepublic java.lang.String getValueClassName()
JRVariable
getValueClassName in interface JRVariablepublic java.lang.Class getIncrementerFactoryClass()
JRVariable
getIncrementerFactoryClass in interface JRVariableJRIncrementer,
JRIncrementerFactorypublic java.lang.String getIncrementerFactoryClassName()
JRVariable
getIncrementerFactoryClassName in interface JRVariablepublic JRExpression getExpression()
JRVariable
getExpression in interface JRVariableJRExpression instance containing the expression.public JRExpression getInitialValueExpression()
JRVariable
getInitialValueExpression in interface JRVariableJRExpression instance containing the initial expression.public byte getResetType()
JRVariable
getResetType in interface JRVariablepublic byte getIncrementType()
JRVariable
getIncrementType in interface JRVariablepublic byte getCalculation()
JRVariable
getCalculation in interface JRVariablepublic boolean isSystemDefined()
JRVariabletrue if the variable calculation type is system defined.
isSystemDefined in interface JRVariableJRVariable.CALCULATION_SYSTEMpublic JRGroup getResetGroup()
JRVariableJRVariable.getResetType() returns
JRVariable.RESET_TYPE_GROUP.
getResetGroup in interface JRVariablepublic JRGroup getIncrementGroup()
JRVariableJRVariable.getIncrementType() returns
JRVariable.RESET_TYPE_GROUP.
getIncrementGroup in interface JRVariablepublic java.lang.Object getOldValue()
public void setOldValue(java.lang.Object oldValue)
public java.lang.Object getEstimatedValue()
public void setEstimatedValue(java.lang.Object estimatedValue)
public java.lang.Object getIncrementedValue()
public void setIncrementedValue(java.lang.Object incrementedValue)
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public boolean isInitialized()
public void setInitialized(boolean isInitialized)
public JRIncrementer getIncrementer()
public JRFillVariable setHelperVariable(JRFillVariable helperVariable,
byte type)
helperVariable - the helper variabletype - the helper type
public JRFillVariable getHelperVariable(byte type)
type - the helper type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||