Enum Class SeparatorType

java.lang.Object
java.lang.Enum<SeparatorType>
net.codecrete.qrbill.generator.SeparatorType
All Implemented Interfaces:
Serializable, Comparable<SeparatorType>, Constable

public enum SeparatorType extends Enum<SeparatorType>
Separator type above and between payment part and receipt
  • Enum Constant Details

    • NONE

      public static final SeparatorType NONE
      No separators are drawn (because paper has perforation)
    • SOLID_LINE

      public static final SeparatorType SOLID_LINE
      Solid lines are drawn
    • SOLID_LINE_WITH_SCISSORS

      public static final SeparatorType SOLID_LINE_WITH_SCISSORS
      Solid lines with a scissor symbol are drawn
    • DASHED_LINE

      public static final SeparatorType DASHED_LINE
      Dashed lines are drawn
    • DASHED_LINE_WITH_SCISSORS

      public static final SeparatorType DASHED_LINE_WITH_SCISSORS
      Dashed lines with a scissor symbol are drawn
    • DOTTED_LINE

      public static final SeparatorType DOTTED_LINE
      Dotted lines are drawn
    • DOTTED_LINE_WITH_SCISSORS

      public static final SeparatorType DOTTED_LINE_WITH_SCISSORS
      Dotted lines with a scissor symbol are drawn
  • Method Details

    • values

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