Enum Class Paper

java.lang.Object
java.lang.Enum<Paper>
io.leandev.appfuse.measure.Paper
All Implemented Interfaces:
Serializable, Comparable<Paper>, Constable

public enum Paper extends Enum<Paper>
  • Enum Constant Details

    • LETTER

      public static final Paper LETTER
    • LETTER_WIDE

      public static final Paper LETTER_WIDE
    • A3

      public static final Paper A3
    • A4

      public static final Paper A4
    • A4_WIDE

      public static final Paper A4_WIDE
    • A5

      public static final Paper A5
    • B4

      public static final Paper B4
    • B4_WIDE

      public static final Paper B4_WIDE
    • B5

      public static final Paper B5
  • Field Details

    • width

      public final Length width
    • height

      public final Length height
  • Method Details

    • values

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