Enum ResetTypeEnum

java.lang.Object
java.lang.Enum<ResetTypeEnum>
net.sf.jasperreports.engine.type.ResetTypeEnum
All Implemented Interfaces:
Serializable, Comparable<ResetTypeEnum>, java.lang.constant.Constable, NamedEnum

public enum ResetTypeEnum extends Enum<ResetTypeEnum> implements NamedEnum
Author:
Sanda Zaharia (shertage@users.sourceforge.net)
  • Enum Constant Details

    • REPORT

      public static final ResetTypeEnum 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

      public static final ResetTypeEnum PAGE
      The variable is reinitialized at the beginning of each new page.
    • COLUMN

      public static final ResetTypeEnum COLUMN
      The variable is reinitialized at the beginning of each new column.
    • GROUP

      public static final ResetTypeEnum GROUP
      The variable is reinitialized every time the group specified by the JRVariable.getResetGroup() method breaks.
    • NONE

      public static final ResetTypeEnum 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

      public static final ResetTypeEnum MASTER
      Used internally by the master report page variables to allow the variables to be used in text fields with Auto evaluation time.
      See Also:
  • Method Details

    • values

      public static ResetTypeEnum[] 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

      public static ResetTypeEnum valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Specified by:
      getName in interface NamedEnum
    • getByName

      public static ResetTypeEnum getByName(String name)
    • getValueOrDefault

      public static ResetTypeEnum getValueOrDefault(ResetTypeEnum value)
    • getDefault

      public ResetTypeEnum getDefault()
      Specified by:
      getDefault in interface NamedEnum