public enum ResetTypeEnum extends Enum<ResetTypeEnum> implements JREnum
Enum Constant and Description |
---|
COLUMN
The variable is reinitialized at the beginning of each new column.
|
GROUP
The variable is reinitialized every time the group specified by the
JRVariable.getResetGroup() method breaks. |
MASTER
Used internally by the master report page variables to allow the variables to be used in
text fields with
Auto evaluation time. |
NONE
The variable will never be initialized using its initial value expression and will only contain values obtained by
evaluating the variable's expression.
|
PAGE
The variable is reinitialized at the beginning of each new page.
|
REPORT
The variable is initialized only once, at the beginning of the report filling process, with the value returned by
the variable's initial value expression.
|
Modifier and Type | Method and Description |
---|---|
static ResetTypeEnum |
getByName(String name) |
static ResetTypeEnum |
getByValue(byte value) |
static ResetTypeEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static ResetTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResetTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResetTypeEnum REPORT
public static final ResetTypeEnum PAGE
public static final ResetTypeEnum COLUMN
public static final ResetTypeEnum GROUP
JRVariable.getResetGroup()
method breaks.public static final ResetTypeEnum NONE
public static final ResetTypeEnum MASTER
Auto
evaluation time.public static ResetTypeEnum[] values()
for (ResetTypeEnum c : ResetTypeEnum.values()) System.out.println(c);
public static ResetTypeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public static ResetTypeEnum getByName(String name)
public static ResetTypeEnum getByValue(Byte value)
public static ResetTypeEnum getByValue(byte value)
Copyright © 2017. All rights reserved.