|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JRCalculable
Interface for objects that can be used by extended incrementers for calculations.
JRExtendedIncrementer| Field Summary | |
|---|---|
static byte |
HELPER_COUNT
Constant for the count helper variable. |
static int |
HELPER_SIZE
The number of defined helper variables. |
static byte |
HELPER_SUM
Constant for the sum helper variable. |
static byte |
HELPER_VARIANCE
Constant for the variance helper variable. |
| Method Summary | |
|---|---|
JRCalculable |
getHelperVariable(byte helperType)
Returns a helper variable. |
java.lang.Object |
getIncrementedValue()
Returns the incremented value of the calculable object. |
java.lang.Object |
getValue()
Returns the value of the calculable object. |
boolean |
isInitialized()
Returns true iff the calculable object was only initialized and not incremented. |
void |
setInitialized(boolean isInitialized)
Sets the initialized flag for this calculable object. |
| Field Detail |
|---|
static final byte HELPER_COUNT
static final byte HELPER_SUM
static final byte HELPER_VARIANCE
static final int HELPER_SIZE
| Method Detail |
|---|
boolean isInitialized()
true iff the calculable object was only initialized and not incremented.
true iff the calculable object was only initialized and not incrementedvoid setInitialized(boolean isInitialized)
isInitialized - the initialized flagisInitialized()java.lang.Object getIncrementedValue()
java.lang.Object getValue()
JRCalculable getHelperVariable(byte helperType)
helperType - the desired helper variable type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||