com.google.gwt.gadgets.client
Interface SetPrefsFeature

All Known Implementing Classes:
SetPrefsFeatureImpl

public interface SetPrefsFeature

Provides access to the preference-saving API.


Method Summary
<T> void
set(UserPreferences.Preference<T> pref, T value)
          Assign a new value to the specified preference.
 

Method Detail

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 UserPreferences
value - the new value to assign