Package io.anyline2.view
Enum BrightnessHelper.BrightnessFeedback
- java.lang.Object
-
- java.lang.Enum<BrightnessHelper.BrightnessFeedback>
-
- io.anyline2.view.BrightnessHelper.BrightnessFeedback
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BrightnessHelper.BrightnessFeedback>
- Enclosing class:
- BrightnessHelper
public static enum BrightnessHelper.BrightnessFeedback extends java.lang.Enum<BrightnessHelper.BrightnessFeedback>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OK
TOO_BRIGHT
TOO_DARK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BrightnessHelper.BrightnessFeedback
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BrightnessHelper.BrightnessFeedback[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOO_BRIGHT
public static final BrightnessHelper.BrightnessFeedback TOO_BRIGHT
-
TOO_DARK
public static final BrightnessHelper.BrightnessFeedback TOO_DARK
-
OK
public static final BrightnessHelper.BrightnessFeedback OK
-
-
Method Detail
-
values
public static BrightnessHelper.BrightnessFeedback[] 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 (BrightnessHelper.BrightnessFeedback c : BrightnessHelper.BrightnessFeedback.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrightnessHelper.BrightnessFeedback 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
-
-