Enum Class LabelFormatType

java.lang.Object
java.lang.Enum<LabelFormatType>
org.openxava.annotations.LabelFormatType
All Implemented Interfaces:
Serializable, Comparable<LabelFormatType>, Constable

public enum LabelFormatType extends Enum<LabelFormatType>
For using in @LabelFormat as value.

Author:
Javier Paniza
  • Enum Constant Details

    • NORMAL

      public static final LabelFormatType NORMAL
      The label is displayed at the left of the editor.
    • SMALL

      public static final LabelFormatType SMALL
      The label is displayed with a small size and above the editor.
    • NO_LABEL

      public static final LabelFormatType NO_LABEL
      The label is not displayed.
  • Method Details

    • values

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