Enum FooterPositionEnum

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

public enum FooterPositionEnum extends Enum<FooterPositionEnum> implements NamedEnum
Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Enum Constant Details

    • NORMAL

      public static final FooterPositionEnum NORMAL
      The group footer section is rendered at normal position, just right after the last detail or right after the nested group footer section.
    • STACK_AT_BOTTOM

      public static final FooterPositionEnum STACK_AT_BOTTOM
      The group footer section is rendered at bottom of the current page, provided that an inner group having this value would force outer group footers to stack at the bottom of the current page, regardless of the outer group footer setting.
    • FORCE_AT_BOTTOM

      public static final FooterPositionEnum FORCE_AT_BOTTOM
      The group footer section is rendered at bottom of the current page, provided that an inner group having this value would render its footer right at the bottom of the page, forcing the outer group footers to render on the next page.
    • COLLATE_AT_BOTTOM

      public static final FooterPositionEnum COLLATE_AT_BOTTOM
      The group footer section is rendered at bottom of the current page, provided that the outer footers have a similar footer display option to render at the page bottom as well, because otherwise, they cannot be forced to change their behavior in any way.
  • Method Details

    • values

      public static FooterPositionEnum[] 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 FooterPositionEnum 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 FooterPositionEnum getByName(String name)
    • getValueOrDefault

      public static FooterPositionEnum getValueOrDefault(FooterPositionEnum value)
    • getDefault

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