Class ServerAccessPreference
java.lang.Object
org.openstreetmap.josm.gui.preferences.DefaultPreferenceSetting
org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting
org.openstreetmap.josm.gui.preferences.server.ServerAccessPreference
- All Implemented Interfaces:
PreferenceSetting,TabPreferenceSetting
Connection preferences, including authentication and proxy sub-preferences.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFactory used to create a newServerAccessPreference. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final OsmApiUrlInputPanelindicates whether to use the default OSM URL or notprivate final AuthenticationPreferencesPanelprivate final FeaturesPanelthe panel for messages notifier preferencesprivate final OverpassServerPanel -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting
addSubTab, addSubTab, canBeHidden, 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
-
Field Details
-
pnlApiUrlPreferences
indicates whether to use the default OSM URL or not -
pnlAuthPreferences
-
pnlFeaturesPreferences
the panel for messages notifier preferences -
pnlOverpassPreferences
-
-
Constructor Details
-
ServerAccessPreference
private ServerAccessPreference()
-
-
Method Details
-
addApiUrlChangeListener
Adds a listener that will be notified of API URL change.- Parameters:
listener- the listener- Since:
- 6523
-
eopFilledHorizontal
-
addGui
Description copied from interface:PreferenceSettingAdd the GUI elements to the dialog. The elements should be initialized after the current preferences.- Parameters:
gui- the preferences tab pane
-
ok
Saves the values to the preferences- 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
-