public static enum Button.Type extends Enum<Button.Type>
| Enum Constant and Description |
|---|
BUY_NOW |
DONATION |
SUBSCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
static Button.Type |
create(String val) |
String |
toString() |
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 BUY_NOW
public static final Button.Type DONATION
public static final Button.Type SUBSCRIPTION
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 String toString()
toString in class Enum<Button.Type>public static Button.Type create(String val)
Copyright © 2014. All rights reserved.