com.google.gwt.gadgets.client
Class EnumPreference<E extends java.lang.Enum<E>>

java.lang.Object
  extended by com.google.gwt.gadgets.client.UserPreferences.Preference<E>
      extended by com.google.gwt.gadgets.client.EnumPreference<E>
Type Parameters:
E - the type of enumeration

public abstract class EnumPreference<E extends java.lang.Enum<E>>
extends UserPreferences.Preference<E>

A preference containing only enumerated values. The enumerated values will be presented to the user in the order in which the values are defined within the declaration of the enumeration.


Nested Class Summary
static interface EnumPreference.EnumDisplayValue
          Declares the display name for Enum preference values.
 
Field Summary
 
Fields inherited from class com.google.gwt.gadgets.client.UserPreferences.Preference
prefs
 
Constructor Summary
EnumPreference()
           
 
Method Summary
 
Methods inherited from class com.google.gwt.gadgets.client.UserPreferences.Preference
getName, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumPreference

public EnumPreference()