java.lang.Object
java.lang.Enum<Mark>
de.espirit.firstspirit.ui.gadgets.aspects.Mark
All Implemented Interfaces:
Serializable, Comparable<Mark>, Constable

public enum Mark extends Enum<Mark>
The kinds of marks.
Since:
4.2.405
  • Enum Constant Details

    • FOCUS

      public static final Mark FOCUS
      Mark for a gadget being focussed.
      Since:
      4.2.405
    • MATCH

      public static final Mark MATCH
      Mark for a gadget that has matches wrt. a search request.
      Since:
      4.2.405
    • DEFAULT_VALUE

      public static final Mark DEFAULT_VALUE
      Mark for a gadget being set to default.
      Since:
      4.2.405
    • INVALID_VALUE

      public static final Mark INVALID_VALUE
      Mark for a gadget not having a valid value (avoiding save) wrt. validation rules.
      Since:
      4.2.405
    • INVALID_VALUE_WARNING

      public static final Mark INVALID_VALUE_WARNING
      Mark for a gadget not having a valid value (avoiding release) wrt. validation rules.
      Since:
      4.2.405
    • INSERTED

      public static final Mark INSERTED
      Mark for a gadget whose value was inserted compared to some reference value.
      Since:
      4.2.405
    • DELETED

      public static final Mark DELETED
      Mark for a gadget whose value is deleted compared to some reference value.
      Since:
      4.2.405
    • CHANGED

      public static final Mark CHANGED
      Mark for a gadget whose value has changed compared to some reference value.
      Since:
      4.2.405
    • CONSTRUCTION_ERROR

      public static final Mark CONSTRUCTION_ERROR
      Mark for a gadget that failed to be constructed with an error.
      Since:
      5.0.107
    • CONSTRUCTION_WARNING

      public static final Mark CONSTRUCTION_WARNING
      Mark for a gadget that failed to be constructed with a warning.
      Since:
      5.0.107
    • CONSTRUCTION_INFORMATION

      public static final Mark CONSTRUCTION_INFORMATION
      Mark for a gadget that failed to be constructed with an information.
      Since:
      5.0.107
  • Method Details

    • values

      public static Mark[] 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 Mark 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
    • getBorderColor

      @NotNull public @NotNull Color getBorderColor()
      Provides the color to be used for markup.
      Returns:
      The markup color.
      Since:
      4.2.405
    • getBorderThickness

      public int getBorderThickness()
      Provides the thickness to be used for markup.
      Returns:
      The markup's thickness.
      Since:
      4.2.405