Enum Class Zone

java.lang.Object
java.lang.Enum<Zone>
com.nsdev.lettergenerator.model.layout.Zone
All Implemented Interfaces:
Serializable, Comparable<Zone>, Constable

public enum Zone extends Enum<Zone>
Reserved region for positioned fixed elements, inside the outer page margins.
  • Enum Constant Details

    • TOP

      public static final Zone TOP
      Region above the body, measured downward from the top inner-page edge.
    • BOTTOM

      public static final Zone BOTTOM
      Region below the body, measured downward from its own top edge; below the last-page signature zone.
  • Method Details

    • values

      public static Zone[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Zone valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null