Enum SupportPreferences.FeedbackLevel
- java.lang.Object
-
- java.lang.Enum<SupportPreferences.FeedbackLevel>
-
- ca.cgjennings.apps.arkham.component.design.SupportPreferences.FeedbackLevel
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SupportPreferences.FeedbackLevel>
- Enclosing class:
- SupportPreferences
public static enum SupportPreferences.FeedbackLevel extends java.lang.Enum<SupportPreferences.FeedbackLevel>
An enumeration of the different levels of validation feedback that can be requested for component sheets.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED
Do not change how components are drawn when invalid.OBVIOUS
When a component is invalid, its sheets should indicate this in a way that is impossible to miss, even at a glance.SUBTLE
When a component is invalid, its sheets should indicate this in a subtle way.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SupportPreferences.FeedbackLevel
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SupportPreferences.FeedbackLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final SupportPreferences.FeedbackLevel DISABLED
Do not change how components are drawn when invalid.
-
SUBTLE
public static final SupportPreferences.FeedbackLevel SUBTLE
When a component is invalid, its sheets should indicate this in a subtle way.
-
OBVIOUS
public static final SupportPreferences.FeedbackLevel OBVIOUS
When a component is invalid, its sheets should indicate this in a way that is impossible to miss, even at a glance.
-
-
Method Detail
-
values
public static SupportPreferences.FeedbackLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SupportPreferences.FeedbackLevel c : SupportPreferences.FeedbackLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SupportPreferences.FeedbackLevel valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-