public static enum Button.Type extends Enum<Button.Type>
| Enum Constant and Description |
|---|
BUTTON
Normal button.
|
SUBMIT
Button type used to submit forms.
|
| Modifier and Type | Method and Description |
|---|---|
static Button.Type |
fromString(String value)
Given a
String value, this method returns the enum's value that corresponds to the provided string
representation. |
static Button.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Button.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Button.Type SUBMIT
public static final Button.Type BUTTON
public static Button.Type[] values()
for (Button.Type c : Button.Type.values()) System.out.println(c);
public static Button.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Button.Type fromString(String value)
String value, this method returns the enum's value that corresponds to the provided string
representation. If no representation is found, SUBMIT will be returned.value - the string representation for which an enum value should be returnedSUBMITCopyright © 2010 - 2020 Adobe. All Rights Reserved