Uses of Interface
org.openstreetmap.josm.spi.preferences.IPreferences
-
Packages that use IPreferences 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.mappaint Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time.org.openstreetmap.josm.spi.preferences Service for preferences and base directory lookup. -
-
Uses of IPreferences in org.openstreetmap.josm.data
Classes in org.openstreetmap.josm.data that implement IPreferences Modifier and Type Class Description classPreferencesThis class holds all preferences for JOSM.Methods in org.openstreetmap.josm.data with parameters of type IPreferences Modifier and Type Method Description static booleanPreferencesUtils. getBoolean(IPreferences prefs, java.lang.String key, java.lang.String specName, boolean def)Gets an boolean that may be specializedstatic intPreferencesUtils. getInteger(IPreferences prefs, java.lang.String key, java.lang.String specName, int def)Gets an integer that may be specializedstatic <T> java.util.List<T>StructUtils. getListOfStructs(IPreferences preferences, java.lang.String key, java.lang.Class<T> klass)Get a list of hashes which are represented by a struct-like class.static <T> java.util.List<T>StructUtils. getListOfStructs(IPreferences preferences, java.lang.String key, java.util.Collection<T> def, java.lang.Class<T> klass)same as above, but returns def if nothing was foundstatic booleanPreferencesUtils. putListBounded(IPreferences prefs, java.lang.String key, int maxsize, java.util.List<java.lang.String> val)Saves at mostmaxsizeitems of listval.static <T> booleanStructUtils. putListOfStructs(IPreferences preferences, java.lang.String key, java.util.Collection<T> val, java.lang.Class<T> klass)Convenience method that saves a MapListSetting which is provided as a collection of objects.static voidPreferencesUtils. removeFromList(IPreferences prefs, java.lang.String key, java.lang.String value)Removes a value from a given String list -
Uses of IPreferences in org.openstreetmap.josm.data.preferences
Fields in org.openstreetmap.josm.data.preferences declared as IPreferences Modifier and Type Field Description protected IPreferencesAbstractProperty. preferencesThe preferences object this property is for.Methods in org.openstreetmap.josm.data.preferences that return IPreferences Modifier and Type Method Description protected IPreferencesAbstractProperty. getPreferences()Gets the preferences used for this property. -
Uses of IPreferences in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint declared as IPreferences Modifier and Type Field Description private IPreferencesMapPaintStyles.MapPaintStylesPreferenceListener. prefConstructors in org.openstreetmap.josm.gui.mappaint with parameters of type IPreferences Constructor Description MapPaintStylesPreferenceListener(IPreferences pref) -
Uses of IPreferences in org.openstreetmap.josm.spi.preferences
Classes in org.openstreetmap.josm.spi.preferences that implement IPreferences Modifier and Type Class Description classAbstractPreferencesAbstract implementation of theIPreferencesinterface.classMemoryPreferencesPreferences implementation that keeps all settings in memory.Fields in org.openstreetmap.josm.spi.preferences declared as IPreferences Modifier and Type Field Description private static IPreferencesConfig. preferencesMethods in org.openstreetmap.josm.spi.preferences that return IPreferences Modifier and Type Method Description static IPreferencesConfig. getPref()Get the preferences.Methods in org.openstreetmap.josm.spi.preferences with parameters of type IPreferences Modifier and Type Method Description static voidConfig. setPreferencesInstance(IPreferences preferences)Install the global preference instance.
-