com.google.gwt.gadgets.client
Interface UserPreferences

All Known Subinterfaces:
AdsUserPreferences

public interface UserPreferences

Encapsulates user preferences for a Gadget. Developers should declare the preferences required by the Gadget in a subtype of UserPreferences that is used in the method declaration of Gadget.init(UserPreferences).


Nested Class Summary
static interface UserPreferences.DataType
          Used to declare the container data type for a Preference.
static class UserPreferences.Preference<T>
          Represents the types of user preferences available in the Gadget container.
static interface UserPreferences.PreferenceAttributes
          Annotates instances of Preference getters in UserPreferences objects.