|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ConfigurationBean.TrackChangeNotifLocationEnum>
sk.baka.ambient.ConfigurationBean.TrackChangeNotifLocationEnum
public static enum ConfigurationBean.TrackChangeNotifLocationEnum
A notification to show when the current playing track is changed.
| Enum Constant Summary | |
|---|---|
Bottom
Show the notification in the bottom of the screen. |
|
Center
Center the notification |
|
Top
Location: top |
|
| Field Summary | |
|---|---|
int |
caption
Caption text. |
int |
gravity
The gravity, intended for the Toast.setGravity(int, int, int)
method. |
| Method Summary | |
|---|---|
static List<CharSequence> |
getCaptions(Context context)
Returns captions list. |
static ConfigurationBean.TrackChangeNotifLocationEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConfigurationBean.TrackChangeNotifLocationEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ConfigurationBean.TrackChangeNotifLocationEnum Top
public static final ConfigurationBean.TrackChangeNotifLocationEnum Center
public static final ConfigurationBean.TrackChangeNotifLocationEnum Bottom
| Field Detail |
|---|
public final int caption
public final int gravity
Toast.setGravity(int, int, int)
method.
| Method Detail |
|---|
public static ConfigurationBean.TrackChangeNotifLocationEnum[] values()
for (ConfigurationBean.TrackChangeNotifLocationEnum c : ConfigurationBean.TrackChangeNotifLocationEnum.values()) System.out.println(c);
public static ConfigurationBean.TrackChangeNotifLocationEnum valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static List<CharSequence> getCaptions(Context context)
context - string resolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||