Enum Class LabelRole

java.lang.Object
java.lang.Enum<LabelRole>
ch.nolix.systemapi.webatomiccontrol.label.LabelRole
All Implemented Interfaces:
Serializable, Comparable<LabelRole>, Constable

public enum LabelRole extends Enum<LabelRole>
Author:
Silvan Wyss
  • Enum Constant Details

    • TITLE

      public static final LabelRole TITLE
    • SUB_TITLE

      public static final LabelRole SUB_TITLE
    • LEVEL1_HEADER

      public static final LabelRole LEVEL1_HEADER
    • LEVEL2_HEADER

      public static final LabelRole LEVEL2_HEADER
    • LEVEL3_HEADER

      public static final LabelRole LEVEL3_HEADER
    • LEVEL4_HEADER

      public static final LabelRole LEVEL4_HEADER
    • LABEL

      public static final LabelRole LABEL
    • MAIN_LABEL

      public static final LabelRole MAIN_LABEL
    • INFO_LABEL

      public static final LabelRole INFO_LABEL
    • WARNING_LABEL

      public static final LabelRole WARNING_LABEL
    • ERROR_LABEL

      public static final LabelRole ERROR_LABEL
  • Method Details

    • values

      public static LabelRole[] 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 LabelRole 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
    • fromSpecification

      public static LabelRole fromSpecification(INode<?> specification)