Package net.sf.jasperreports.engine.type
Enum ResetTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<ResetTypeEnum>,java.lang.constant.Constable,NamedEnum
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe variable is reinitialized at the beginning of each new column.The variable is reinitialized every time the group specified by theJRVariable.getResetGroup()method breaks.Used internally by the master report page variables to allow the variables to be used in text fields withAutoevaluation time.The variable will never be initialized using its initial value expression and will only contain values obtained by evaluating the variable's expression.The variable is reinitialized at the beginning of each new page.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. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResetTypeEnumgetName()static ResetTypeEnumgetValueOrDefault(ResetTypeEnum value) static ResetTypeEnumReturns 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.
-
Enum Constant Details
-
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. -
PAGE
The variable is reinitialized at the beginning of each new page. -
COLUMN
The variable is reinitialized at the beginning of each new column. -
GROUP
The variable is reinitialized every time the group specified by theJRVariable.getResetGroup()method breaks. -
NONE
The variable will never be initialized using its initial value expression and will only contain values obtained by evaluating the variable's expression. -
MASTER
Used internally by the master report page variables to allow the variables to be used in text fields withAutoevaluation time.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
-
getByName
-
getValueOrDefault
-
getDefault
- Specified by:
getDefaultin interfaceNamedEnum
-