Uses of Interface
org.openstreetmap.josm.spi.preferences.Setting
-
Packages that use Setting Package Description org.openstreetmap.josm.data Provides the classes for JOSM managed data.org.openstreetmap.josm.data.preferences Provides the classes for storing JOSM user preferences.org.openstreetmap.josm.gui.io Provides GUI classes for handling input/output operations (download, upload, save).org.openstreetmap.josm.gui.preferences.advanced Provides classes for handling advanced preferences.org.openstreetmap.josm.spi.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 Setting Modifier and Type Field Description protected java.util.SortedMap<java.lang.String,Setting<?>>Preferences. defaultsMapMaps the setting name to the default value of the setting.protected java.util.SortedMap<java.lang.String,Setting<?>>Preferences. settingsMapMaps the setting name to the current value of the setting.Methods in org.openstreetmap.josm.data with type parameters of type Setting Modifier and Type Method Description <T extends Setting<?>>
TPreferences. getSetting(java.lang.String key, T def, java.lang.Class<T> klass)Get settings value for a certain key and provide default a value.Methods in org.openstreetmap.josm.data that return Setting Modifier and Type Method Description Setting<?>Preferences. getSetting(java.lang.String key, Setting<?> def)Get a setting of any typeMethods in org.openstreetmap.josm.data that return types with arguments of type Setting Modifier and Type Method Description java.util.Map<java.lang.String,Setting<?>>Preferences. getAllDefaults()Gets a map of all currently known defaultsjava.util.Map<java.lang.String,Setting<?>>Preferences. getAllSettings()Methods in org.openstreetmap.josm.data with parameters of type Setting Modifier and Type Method Description protected voidPreferences. firePreferenceChanged(java.lang.String key, Setting<?> oldValue, Setting<?> newValue)Setting<?>Preferences. getSetting(java.lang.String key, Setting<?> def)Get a setting of any typebooleanPreferences. putSetting(java.lang.String key, Setting<?> setting)Set a value for a certain setting.Method parameters in org.openstreetmap.josm.data with type arguments of type Setting Modifier and Type Method Description protected voidPreferences. save(java.io.File prefFile, java.util.stream.Stream<java.util.Map.Entry<java.lang.String,Setting<?>>> settings, boolean defaults)java.lang.StringPreferences. toXML(java.util.Collection<java.util.Map.Entry<java.lang.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 Setting Modifier and Type Field Description private java.util.SortedMap<java.lang.String,Setting<?>>PreferencesReader. settingsMethods in org.openstreetmap.josm.data.preferences that return types with arguments of type Setting Modifier and Type Method Description java.util.SortedMap<java.lang.String,Setting<?>>PreferencesReader. getSettings()Return the parsed preferences as a settings mapMethods in org.openstreetmap.josm.data.preferences with parameters of type Setting Modifier and Type Method Description private voidPreferencesWriter. addTime(Setting<?> setting)Method parameters in org.openstreetmap.josm.data.preferences with type arguments of type Setting Modifier and Type Method Description voidPreferencesWriter. write(java.util.Collection<java.util.Map.Entry<java.lang.String,Setting<?>>> settings)Write preferences.voidPreferencesWriter. write(java.util.stream.Stream<java.util.Map.Entry<java.lang.String,Setting<?>>> settings)Write preferences. -
Uses of Setting in org.openstreetmap.josm.gui.io
Methods in org.openstreetmap.josm.gui.io with parameters of type Setting Modifier and Type Method Description private voidUploadDialog. osmServerUrlChanged(Setting<?> newValue) -
Uses of Setting in org.openstreetmap.josm.gui.preferences.advanced
Fields in org.openstreetmap.josm.gui.preferences.advanced declared as Setting Modifier and Type Field Description private Setting<?>PrefEntry. defaultValueprivate Setting<?>PrefEntry. valueMethods in org.openstreetmap.josm.gui.preferences.advanced that return Setting Modifier and Type Method Description Setting<?>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 Setting Modifier and Type Method Description voidPrefEntry. setValue(Setting<?> value)Sets the preference value.Method parameters in org.openstreetmap.josm.gui.preferences.advanced with type arguments of type Setting Modifier and Type Method Description private java.util.List<PrefEntry>AdvancedPreference. prepareData(java.util.Map<java.lang.String,Setting<?>> loaded, java.util.Map<java.lang.String,Setting<?>> orig, java.util.Map<java.lang.String,Setting<?>> defaults)Constructors in org.openstreetmap.josm.gui.preferences.advanced with parameters of type Setting Constructor Description PrefEntry(java.lang.String key, Setting<?> value, Setting<?> defaultValue, boolean isDefault)Constructs a newPrefEntry. -
Uses of Setting in org.openstreetmap.josm.spi.preferences
Classes in org.openstreetmap.josm.spi.preferences that implement Setting Modifier and Type Class Description classAbstractSetting<T>Base abstract class of all settings, holding the setting value.classListListSettingSetting containing aListofLists ofStringvalues.classListSettingSetting containing aListofStringvalues.classMapListSettingSetting containing aListofMaps ofStringvalues.classStringSettingSetting containing aStringvalue.Fields in org.openstreetmap.josm.spi.preferences declared as Setting Modifier and Type Field Description private Setting<?>DefaultPreferenceChangeEvent. newValueprivate Setting<?>DefaultPreferenceChangeEvent. oldValueFields in org.openstreetmap.josm.spi.preferences with type parameters of type Setting Modifier and Type Field Description private java.util.Map<java.lang.String,Setting<?>>MemoryPreferences. settingsMethods in org.openstreetmap.josm.spi.preferences with type parameters of type Setting Modifier and Type Method Description abstract <T extends Setting<?>>
TAbstractPreferences. getSetting(java.lang.String key, T def, java.lang.Class<T> klass)Get settings value for a certain key and provide default a value.<T extends Setting<?>>
TMemoryPreferences. getSetting(java.lang.String key, T def, java.lang.Class<T> klass)Methods in org.openstreetmap.josm.spi.preferences that return Setting Modifier and Type Method Description Setting<T>Setting. copy()Clone the current object.Setting<?>DefaultPreferenceChangeEvent. getNewValue()Setting<?>PreferenceChangeEvent. getNewValue()Returns the new preference value.Setting<T>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 Setting Modifier and Type Method Description abstract java.util.Map<java.lang.String,Setting<?>>AbstractPreferences. getAllSettings()Gets a map of all settings that are currently storedjava.util.Map<java.lang.String,Setting<?>>MemoryPreferences. getAllSettings()Methods in org.openstreetmap.josm.spi.preferences with parameters of type Setting Modifier and Type Method Description abstract booleanAbstractPreferences. putSetting(java.lang.String key, Setting<?> setting)Set a value for a certain setting.booleanMemoryPreferences. putSetting(java.lang.String key, Setting<?> setting)Constructors in org.openstreetmap.josm.spi.preferences with parameters of type Setting Constructor Description DefaultPreferenceChangeEvent(java.lang.Class<?> source, java.lang.String key, Setting<?> oldValue, Setting<?> newValue)Constructs a newDefaultPreferenceChangeEvent.
-