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

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

public abstract class StringPreference
extends UserPreferences.Preference<String>

A String preference.


Field Summary
 
Fields inherited from class org.cruxframework.crux.plugin.gadget.client.features.UserPreferences.Preference
prefs
 
Constructor Summary
StringPreference()
           
 
Method Summary
 String getValue()
          Returns the value of a preference as a string.
 
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

StringPreference

public StringPreference()
Method Detail

getValue

public String getValue()
Returns the value of a preference as a string.

Specified by:
getValue in class UserPreferences.Preference<String>
Returns:
the value of a preference as a string.


Copyright © 2014. All rights reserved.