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, setValueToJson
protected Map<String,String> getDefaults()
UserPreference
getDefaults
in class UserPreference
public ClientProperty.PRESELECTED_TABS_VALUES getPreselectedTab()
public TimelineFilterViewType getViewType()
public void setPreferences(Map<String,String> preferences)
UserPreference
setPreferences
in class UserPreference
preferences
- 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.