com.google.gwt.gadgets.client
Annotation Type UserPreferences.PreferenceAttributes


@Documented
@Target(value=METHOD)
public static @interface UserPreferences.PreferenceAttributes

Annotates instances of Preference getters in UserPreferences objects. The name of the getter method will be used as the name of the preference.


Optional Element Summary
 java.lang.String default_value
          The default value of the preference.
 java.lang.String display_name
          The user-visible name of the preference.
 UserPreferences.PreferenceAttributes.Options options
          Additional options that may be applied to the preference.
 

default_value

public abstract java.lang.String default_value
The default value of the preference.

Default:
""

display_name

public abstract java.lang.String display_name
The user-visible name of the preference. If no name is specified, the name of the accessor method will be used.

Default:
""

options

public abstract UserPreferences.PreferenceAttributes.Options options
Additional options that may be applied to the preference.

Default:
NORMAL