public static enum TextDecoration.State extends java.lang.Enum<TextDecoration.State>
TextDecoration can be in.| Modifier and Type | Method and Description |
|---|---|
static @NonNull TextDecoration.State |
byBoolean(boolean flag)
Gets a state from a
boolean. |
static @NonNull TextDecoration.State |
byBoolean(@Nullable java.lang.Boolean flag)
Gets a state from a
Boolean. |
java.lang.String |
toString() |
static TextDecoration.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextDecoration.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextDecoration.State NOT_SET
public static final TextDecoration.State FALSE
public static final TextDecoration.State TRUE
public static TextDecoration.State[] values()
for (TextDecoration.State c : TextDecoration.State.values()) System.out.println(c);
public static TextDecoration.State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<TextDecoration.State>public static @NonNull TextDecoration.State byBoolean(boolean flag)
boolean.flag - the booleanpublic static @NonNull TextDecoration.State byBoolean(@Nullable java.lang.Boolean flag)
Boolean.flag - the boolean