org.cruxframework.crux.plugin.gadget.client.features
Class SetPrefsFeatureImpl
java.lang.Object
org.cruxframework.crux.plugin.gadget.client.features.SetPrefsFeatureImpl
- All Implemented Interfaces:
- SetPrefsFeature
public class SetPrefsFeatureImpl
- extends Object
- implements SetPrefsFeature
Provides access to the preference-saving API.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
set
public <T> void set(UserPreferences.Preference<T> pref,
T value)
- Description copied from interface:
SetPrefsFeature
- Assign a new value to the specified preference.
- Specified by:
set in interface SetPrefsFeature
- Type Parameters:
T - the type of data encapsulated by the preference- Parameters:
pref - a Preference object obtained from a subtype of
UserPreferencesvalue - the new value to assign
Copyright © 2014. All rights reserved.