Enum CONSTANTS.FIELD_STATE
- Object
-
- Enum<CONSTANTS.FIELD_STATE>
-
- FIELD_STATE
-
- All Implemented Interfaces:
Serializable,Comparable<CONSTANTS.FIELD_STATE>,Constable
- Enclosing class:
- CONSTANTS
public static enum CONSTANTS.FIELD_STATE extends Enum<CONSTANTS.FIELD_STATE>
Mögliche Zustände von Eingabefeldern. Es wird das Farbschema des Anwenders berücksichtigt.- Since:
- 8.05.000
-
-
Method Summary
Modifier and Type Method Description ColorgetColor()Liefert den Farbwert als Java-Color-Objekt.static CONSTANTS.FIELD_STATEvalueOf(String name)Returns the enum constant of this type with the specified name.static CONSTANTS.FIELD_STATE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final CONSTANTS.FIELD_STATE NORMAL
Normal editierbar (weisse Hintergrundfarbe).
-
READONLY
public static final CONSTANTS.FIELD_STATE READONLY
Nicht editierbar (graue Hintergrundfarbe).
-
CHECKED
public static final CONSTANTS.FIELD_STATE CHECKED
Feldwert erfolgreich geprüft (grüne Hintergrundfarbe).
-
INVALID
public static final CONSTANTS.FIELD_STATE INVALID
Nicht erlaubte Eingabe (rote Hintergrundfarbe).
-
-
Method Detail
-
values
public static CONSTANTS.FIELD_STATE[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CONSTANTS.FIELD_STATE valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getColor
public Color getColor()
Liefert den Farbwert als Java-Color-Objekt.- Returns:
- Farbe
-
-