org.cruxframework.crux.plugin.gadget.client.features
Interface SetPrefsFeature
- All Known Implementing Classes:
- SetPrefsFeatureImpl
public interface SetPrefsFeature
Provides access to the preference-saving API.
set
<T> void set(UserPreferences.Preference<T> pref,
T value)
- Assign a new value to the specified preference.
- 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.