public enum ButtonMode extends java.lang.Enum<ButtonMode>
| Modifier and Type | Method and Description |
|---|---|
static ButtonMode |
fromAttributeValue(int attrValue) |
static ButtonMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ButtonMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonMode REGULAR
public static final ButtonMode TOGGLE
public static final ButtonMode CHECKBOX
public static final ButtonMode RADIO
public static ButtonMode[] values()
for (ButtonMode c : ButtonMode.values()) System.out.println(c);
public static ButtonMode 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 static ButtonMode fromAttributeValue(int attrValue)