Enum ValueOption
- java.lang.Object
-
- java.lang.Enum<ValueOption>
-
- tech.grasshopper.excel.report.cell.ValueOption
-
- All Implemented Interfaces:
Serializable,Comparable<ValueOption>
public enum ValueOption extends Enum<ValueOption>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POSITIVE_NUMBERSTATUS_COLORSTATUS_TEXTVALUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValueOptionvalueOf(String name)Returns the enum constant of this type with the specified name.static ValueOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE
public static final ValueOption VALUE
-
POSITIVE_NUMBER
public static final ValueOption POSITIVE_NUMBER
-
STATUS_TEXT
public static final ValueOption STATUS_TEXT
-
STATUS_COLOR
public static final ValueOption STATUS_COLOR
-
-
Method Detail
-
values
public static ValueOption[] 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 (ValueOption c : ValueOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueOption 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
-
-