org.cruxframework.crux.plugin.gadget.client.features
Class EnumPreference<E extends Enum<E>>

java.lang.Object
  extended by org.cruxframework.crux.plugin.gadget.client.features.UserPreferences.Preference<E>
      extended by org.cruxframework.crux.plugin.gadget.client.features.EnumPreference<E>
Type Parameters:
E - the type of enumeration

public abstract class EnumPreference<E extends 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 org.cruxframework.crux.plugin.gadget.client.features.UserPreferences.Preference
prefs
 
Constructor Summary
EnumPreference()
           
 
Method Summary
 
Methods inherited from class org.cruxframework.crux.plugin.gadget.client.features.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()


Copyright © 2014. All rights reserved.