Uses of Interface
org.openstreetmap.josm.spi.preferences.Setting
Packages that use Setting
Package
Description
Provides the classes for JOSM managed data.
Provides the classes for storing JOSM user preferences.
Provides GUI classes for handling input/output operations (download, upload, save).
Provides classes for handling advanced preferences.
Service for preferences and base directory lookup.
-
Uses of Setting in org.openstreetmap.josm.data
Fields in org.openstreetmap.josm.data with type parameters of type SettingModifier and TypeFieldDescriptionPreferences.defaultsMapMaps the setting name to the default value of the setting.Preferences.settingsMapMaps the setting name to the current value of the setting.Methods in org.openstreetmap.josm.data with type parameters of type SettingModifier and TypeMethodDescription<T extends Setting<?>>
TPreferences.getSetting(String key, T def, Class<T> klass) Get settings value for a certain key and provide default a value.Methods in org.openstreetmap.josm.data that return SettingModifier and TypeMethodDescriptionSetting<?>Preferences.getSetting(String key, Setting<?> def) Get a setting of any typeMethods in org.openstreetmap.josm.data that return types with arguments of type SettingModifier and TypeMethodDescriptionPreferences.getAllDefaults()Gets a map of all currently known defaultsPreferences.getAllSettings()Methods in org.openstreetmap.josm.data with parameters of type SettingModifier and TypeMethodDescriptionprotected voidPreferences.firePreferenceChanged(String key, Setting<?> oldValue, Setting<?> newValue) Setting<?>Preferences.getSetting(String key, Setting<?> def) Get a setting of any typebooleanPreferences.putSetting(String key, Setting<?> setting) Set a value for a certain setting.Method parameters in org.openstreetmap.josm.data with type arguments of type SettingModifier and TypeMethodDescriptionprotected voidPreferences.toXML(Collection<Map.Entry<String, Setting<?>>> settings, boolean nopass, boolean defaults) Returns XML describing the given preferences. -
Uses of Setting in org.openstreetmap.josm.data.preferences
Fields in org.openstreetmap.josm.data.preferences with type parameters of type SettingMethods in org.openstreetmap.josm.data.preferences that return types with arguments of type SettingModifier and TypeMethodDescriptionPreferencesReader.getSettings()Return the parsed preferences as a settings mapMethods in org.openstreetmap.josm.data.preferences with parameters of type SettingMethod parameters in org.openstreetmap.josm.data.preferences with type arguments of type Setting -
Uses of Setting in org.openstreetmap.josm.gui.io
Methods in org.openstreetmap.josm.gui.io with parameters of type SettingModifier and TypeMethodDescriptionprivate voidUploadDialog.osmServerUrlChanged(Setting<?> newValue) -
Uses of Setting in org.openstreetmap.josm.gui.preferences.advanced
Fields in org.openstreetmap.josm.gui.preferences.advanced declared as SettingModifier and TypeFieldDescriptionprivate final Setting<?>PrefEntry.defaultValueprivate Setting<?>PrefEntry.valueMethods in org.openstreetmap.josm.gui.preferences.advanced that return SettingModifier and TypeMethodDescriptionSetting<?>PrefEntry.getDefaultValue()Returns the preference default value.Setting<?>PrefEntry.getValue()Returns the preference value.Methods in org.openstreetmap.josm.gui.preferences.advanced with parameters of type SettingModifier and TypeMethodDescriptionvoidSets the preference value.Method parameters in org.openstreetmap.josm.gui.preferences.advanced with type arguments of type SettingModifier and TypeMethodDescriptionAdvancedPreference.prepareData(Map<String, Setting<?>> loaded, Map<String, Setting<?>> orig, Map<String, Setting<?>> defaults) Constructors in org.openstreetmap.josm.gui.preferences.advanced with parameters of type Setting -
Uses of Setting in org.openstreetmap.josm.spi.preferences
Classes in org.openstreetmap.josm.spi.preferences that implement SettingModifier and TypeClassDescriptionclassBase abstract class of all settings, holding the setting value.classclassclassclassSetting containing aStringvalue.Fields in org.openstreetmap.josm.spi.preferences declared as SettingModifier and TypeFieldDescriptionprivate final Setting<?>DefaultPreferenceChangeEvent.newValueprivate final Setting<?>DefaultPreferenceChangeEvent.oldValueFields in org.openstreetmap.josm.spi.preferences with type parameters of type SettingMethods in org.openstreetmap.josm.spi.preferences with type parameters of type SettingModifier and TypeMethodDescriptionabstract <T extends Setting<?>>
TAbstractPreferences.getSetting(String key, T def, Class<T> klass) Get settings value for a certain key and provide default a value.<T extends Setting<?>>
TMemoryPreferences.getSetting(String key, T def, Class<T> klass) Methods in org.openstreetmap.josm.spi.preferences that return SettingModifier and TypeMethodDescriptionSetting.copy()Clone the current object.Setting<?>DefaultPreferenceChangeEvent.getNewValue()Setting<?>PreferenceChangeEvent.getNewValue()Returns the new preference value.Setting.getNullInstance()Returns a setting whose value is null.Setting<?>DefaultPreferenceChangeEvent.getOldValue()Setting<?>PreferenceChangeEvent.getOldValue()Returns the old preference value.Methods in org.openstreetmap.josm.spi.preferences that return types with arguments of type SettingModifier and TypeMethodDescriptionAbstractPreferences.getAllSettings()Gets a map of all settings that are currently storedMemoryPreferences.getAllSettings()Methods in org.openstreetmap.josm.spi.preferences with parameters of type SettingModifier and TypeMethodDescriptionabstract booleanAbstractPreferences.putSetting(String key, Setting<?> setting) Set a value for a certain setting.booleanMemoryPreferences.putSetting(String key, Setting<?> setting) Constructors in org.openstreetmap.josm.spi.preferences with parameters of type SettingModifierConstructorDescriptionDefaultPreferenceChangeEvent(Class<?> source, String key, Setting<?> oldValue, Setting<?> newValue) Constructs a newDefaultPreferenceChangeEvent.