Enum PreferenceItem.Field
- java.lang.Object
-
- java.lang.Enum<PreferenceItem.Field>
-
- aero.panasonic.inflight.services.user.v2.preferences.PreferenceItem.Field
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PreferenceItem.Field>
- Enclosing class:
- PreferenceItem
public static enum PreferenceItem.Field extends java.lang.Enum<PreferenceItem.Field>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GENREINTERACTIVE_BRIGHTNESSINTERACTIVE_LANGUAGEINTERACTIVE_THEMEPARENTAL_CONTROL_RATINGSOUNDTRACK_LANGUAGESUBTITLE_LANGUAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()static PreferenceItem.FieldvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PreferenceItem.Field[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERACTIVE_THEME
public static final PreferenceItem.Field INTERACTIVE_THEME
-
INTERACTIVE_BRIGHTNESS
public static final PreferenceItem.Field INTERACTIVE_BRIGHTNESS
-
INTERACTIVE_LANGUAGE
public static final PreferenceItem.Field INTERACTIVE_LANGUAGE
-
SUBTITLE_LANGUAGE
public static final PreferenceItem.Field SUBTITLE_LANGUAGE
-
SOUNDTRACK_LANGUAGE
public static final PreferenceItem.Field SOUNDTRACK_LANGUAGE
-
GENRE
public static final PreferenceItem.Field GENRE
-
PARENTAL_CONTROL_RATING
public static final PreferenceItem.Field PARENTAL_CONTROL_RATING
-
-
Method Detail
-
values
public static PreferenceItem.Field[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PreferenceItem.Field c : PreferenceItem.Field.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PreferenceItem.Field valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getName
public java.lang.String getName()
-
-