Enum Class Mark
- All Implemented Interfaces:
Serializable
,Comparable<Mark>
,Constable
The kinds of marks.
- Since:
- 4.2.405
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMark for a gadget whose value has changed compared to some reference value.Mark for a gadget that failed to be constructed with an error.Mark for a gadget that failed to be constructed with an information.Mark for a gadget that failed to be constructed with a warning.Mark for a gadget being set to default.Mark for a gadget whose value is deleted compared to some reference value.Mark for a gadget being focussed.Mark for a gadget whose value was inserted compared to some reference value.Mark for a gadget not having a valid value (avoiding save) wrt. validation rules.Mark for a gadget not having a valid value (avoiding release) wrt. validation rules.Mark for a gadget that has matches wrt. a search request. -
Method Summary
Modifier and TypeMethodDescription@NotNull Color
Provides the color to be used for markup.int
Provides the thickness to be used for markup.static Mark
Returns the enum constant of this class with the specified name.static Mark[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FOCUS
Mark for a gadget being focussed.- Since:
- 4.2.405
-
MATCH
Mark for a gadget that has matches wrt. a search request.- Since:
- 4.2.405
-
DEFAULT_VALUE
Mark for a gadget being set to default.- Since:
- 4.2.405
-
INVALID_VALUE
Mark for a gadget not having a valid value (avoiding save) wrt. validation rules.- Since:
- 4.2.405
-
INVALID_VALUE_WARNING
Mark for a gadget not having a valid value (avoiding release) wrt. validation rules.- Since:
- 4.2.405
-
INSERTED
Mark for a gadget whose value was inserted compared to some reference value.- Since:
- 4.2.405
-
DELETED
Mark for a gadget whose value is deleted compared to some reference value.- Since:
- 4.2.405
-
CHANGED
Mark for a gadget whose value has changed compared to some reference value.- Since:
- 4.2.405
-
CONSTRUCTION_ERROR
Mark for a gadget that failed to be constructed with an error.- Since:
- 5.0.107
-
CONSTRUCTION_WARNING
Mark for a gadget that failed to be constructed with a warning.- Since:
- 5.0.107
-
CONSTRUCTION_INFORMATION
Mark for a gadget that failed to be constructed with an information.- Since:
- 5.0.107
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
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
-