public static enum IntroButton.Appearance extends java.lang.Enum<IntroButton.Appearance>
| Enum Constant and Description |
|---|
ICON_ONLY
Display only an icon.
|
TEXT_ONLY
Display only a text label.
|
TEXT_WITH_LEFT_ICON
Display an icon to the left of a text label.
|
TEXT_WITH_RIGHT_ICON
Display an icon to the right of a text label.
|
| Modifier and Type | Method and Description |
|---|---|
static IntroButton.Appearance |
fromOrdinal(int ordinal)
Returns the Appearance corresponding to the supplied ordinal.
|
com.matthewtamlin.sliding_intro_screen_library.AppearanceManipulator |
getManipulator() |
static IntroButton.Appearance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntroButton.Appearance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntroButton.Appearance TEXT_ONLY
public static final IntroButton.Appearance ICON_ONLY
public static final IntroButton.Appearance TEXT_WITH_LEFT_ICON
public static final IntroButton.Appearance TEXT_WITH_RIGHT_ICON
public static IntroButton.Appearance[] values()
for (IntroButton.Appearance c : IntroButton.Appearance.values()) System.out.println(c);
public static IntroButton.Appearance 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 IntroButton.Appearance fromOrdinal(int ordinal)
ordinal - the ordinal to useordinalpublic com.matthewtamlin.sliding_intro_screen_library.AppearanceManipulator getManipulator()