public class UserInterfaceUserPreference extends UserPreference
| Constructor and Description |
|---|
UserInterfaceUserPreference() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,String> |
getDefaults()
Return the default values of this preference as a map.
|
ClientProperty.PRESELECTED_TABS_VALUES |
getPreselectedTab() |
TimelineFilterViewType |
getViewType() |
void |
setPreferences(Map<String,String> preferences)
Method to set the preferences.
|
void |
setPreselectedTab(ClientProperty.PRESELECTED_TABS_VALUES tab) |
void |
setViewType(TimelineFilterViewType type) |
getPreferences, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueFromJson, setValue, setValueToJsonprotected Map<String,String> getDefaults()
UserPreferencegetDefaults in class UserPreferencepublic ClientProperty.PRESELECTED_TABS_VALUES getPreselectedTab()
public TimelineFilterViewType getViewType()
public void setPreferences(Map<String,String> preferences)
UserPreferencesetPreferences in class UserPreferencepreferences - The preferences to set. These might overwrite existing ones.public void setPreselectedTab(ClientProperty.PRESELECTED_TABS_VALUES tab)
tab - Set the preselected notes overview tab.public void setViewType(TimelineFilterViewType type)
type - Sets the type.Copyright © 2019 Communote team. All rights reserved.