org.cruxframework.crux.plugin.gadget.client.features
Class BooleanPreference

java.lang.Object
  extended by org.cruxframework.crux.plugin.gadget.client.features.UserPreferences.Preference<Boolean>
      extended by org.cruxframework.crux.plugin.gadget.client.features.BooleanPreference

public abstract class BooleanPreference
extends UserPreferences.Preference<Boolean>

A Boolean preference.


Field Summary
 
Fields inherited from class org.cruxframework.crux.plugin.gadget.client.features.UserPreferences.Preference
prefs
 
Constructor Summary
BooleanPreference()
           
 
Method Summary
 Boolean getValue()
          Returns a boolean value for a preference (shows as a checkbox).
 
Methods inherited from class org.cruxframework.crux.plugin.gadget.client.features.UserPreferences.Preference
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanPreference

public BooleanPreference()
Method Detail

getValue

public Boolean getValue()
Returns a boolean value for a preference (shows as a checkbox).

Specified by:
getValue in class UserPreferences.Preference<Boolean>
Returns:
the value of the preference.


Copyright © 2014. All rights reserved.