public enum SoftButtonType extends Enum<SoftButtonType>
The text is displayed on the soft button
The image is displayed on the soft button
Both image and text are displayed on the soft button.
| Enum Constant and Description |
|---|
SBT_BOTH
Image displayed
|
SBT_IMAGE
Image displayed
|
SBT_TEXT
Text displayed
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SoftButtonType |
valueForString(String value) |
static SoftButtonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SoftButtonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoftButtonType SBT_TEXT
public static final SoftButtonType SBT_IMAGE
public static final SoftButtonType SBT_BOTH
public static SoftButtonType[] values()
for (SoftButtonType c : SoftButtonType.values()) System.out.println(c);
public static SoftButtonType 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<SoftButtonType>public static SoftButtonType valueForString(String value)