Class DisplayPreference
java.lang.Object
org.openstreetmap.josm.gui.preferences.DefaultPreferenceSetting
org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting
org.openstreetmap.josm.gui.preferences.ExtensibleTabPreferenceSetting
org.openstreetmap.josm.gui.preferences.display.DisplayPreference
- All Implemented Interfaces:
PreferenceSetting,TabPreferenceSetting
Display preferences (various settings that influence the visual representation of the whole program).
- Since:
- 4969
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFactory used to create a newDisplayPreference. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDetermines whether this tab may be hidden (since it does not contain any relevant content)Returns the help context for this preferences settings tab.booleanok()Called when OK is pressed to save the setting in the preferences file.Methods inherited from class org.openstreetmap.josm.gui.preferences.ExtensibleTabPreferenceSetting
addGuiMethods inherited from class org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting
addSubTab, addSubTab, createPreferenceTabWithScrollPane, getDescription, getIconName, getSelectedSubTab, getSubTab, getTabPane, getTitle, getTooltip, registerSubTab, selectSubTabMethods inherited from class org.openstreetmap.josm.gui.preferences.DefaultPreferenceSetting
isExpert, saveBoolean, saveDouble, saveIntMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openstreetmap.josm.gui.preferences.PreferenceSetting
isExpertMethods inherited from interface org.openstreetmap.josm.gui.preferences.TabPreferenceSetting
getIcon
-
Constructor Details
-
DisplayPreference
private DisplayPreference()
-
-
Method Details
-
ok
Description copied from interface:PreferenceSettingCalled when OK is pressed to save the setting in the preferences file. Return true when restart is required.- Returns:
trueif restart is required
-
getHelpContext
Description copied from interface:TabPreferenceSettingReturns the help context for this preferences settings tab.- Specified by:
getHelpContextin interfaceTabPreferenceSetting- Overrides:
getHelpContextin classDefaultTabPreferenceSetting- Returns:
- the help context for this preferences settings tab
-
canBeHidden
Description copied from class:DefaultTabPreferenceSettingDetermines whether this tab may be hidden (since it does not contain any relevant content)- Overrides:
canBeHiddenin classDefaultTabPreferenceSetting- Returns:
- whether this tab may be hidden
-