public enum ListItemPreference extends Enum<ListItemPreference>
| Enum Constant and Description |
|---|
DATE_FORMAT |
USE_PLACE |
WEIGHT_UNIT |
| Modifier and Type | Method and Description |
|---|---|
int |
getEntriesArrayId() |
String |
getEntryForValue(android.content.Context context,
String value) |
String |
getKey() |
static ListItemPreference |
getListItemPreference(String key) |
int |
getValuesArrayId() |
static ListItemPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListItemPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListItemPreference WEIGHT_UNIT
public static final ListItemPreference DATE_FORMAT
public static final ListItemPreference USE_PLACE
public static ListItemPreference[] values()
for (ListItemPreference c : ListItemPreference.values()) System.out.println(c);
public static ListItemPreference 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 getKey()
public int getEntriesArrayId()
public int getValuesArrayId()
public static ListItemPreference getListItemPreference(String key)
Copyright © 2013–2014 CodeLutin. All rights reserved.