Uses of Interface
org.openstreetmap.josm.spi.preferences.IPreferences
Packages that use IPreferences
Package
Description
Provides the classes for JOSM managed data.
Provides the classes for storing JOSM user preferences.
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.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time.
Service for preferences and base directory lookup.
-
Uses of IPreferences in org.openstreetmap.josm.data
Classes in org.openstreetmap.josm.data that implement IPreferencesMethods in org.openstreetmap.josm.data with parameters of type IPreferencesModifier and TypeMethodDescriptionstatic booleanPreferencesUtils.getBoolean(IPreferences prefs, String key, String specName, boolean def) Gets an boolean that may be specializedstatic intPreferencesUtils.getInteger(IPreferences prefs, String key, String specName, int def) Gets an integer that may be specializedstatic <T> List<T>StructUtils.getListOfStructs(IPreferences preferences, String key, Class<T> klass) Get a list of hashes which are represented by a struct-like class.static <T> List<T>StructUtils.getListOfStructs(IPreferences preferences, String key, Collection<T> def, Class<T> klass) same as above, but returns def if nothing was foundstatic booleanPreferencesUtils.putListBounded(IPreferences prefs, String key, int maxsize, List<String> val) Saves at mostmaxsizeitems of listval.static <T> booleanStructUtils.putListOfStructs(IPreferences preferences, String key, Collection<T> val, Class<T> klass) Convenience method that saves a MapListSetting which is provided as a collection of objects.static voidPreferencesUtils.removeFromList(IPreferences prefs, String key, 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 IPreferencesModifier and TypeFieldDescriptionprotected final IPreferencesAbstractProperty.preferencesThe preferences object this property is for.Methods in org.openstreetmap.josm.data.preferences that return IPreferencesModifier and TypeMethodDescriptionprotected 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 IPreferencesModifier and TypeFieldDescriptionprivate final IPreferencesMapPaintStyles.MapPaintStylesPreferenceListener.prefConstructors in org.openstreetmap.josm.gui.mappaint with parameters of type IPreferencesModifierConstructorDescription(package private) -
Uses of IPreferences in org.openstreetmap.josm.spi.preferences
Classes in org.openstreetmap.josm.spi.preferences that implement IPreferencesModifier and TypeClassDescriptionclassAbstract implementation of theIPreferencesinterface.classPreferences implementation that keeps all settings in memory.Fields in org.openstreetmap.josm.spi.preferences declared as IPreferencesMethods in org.openstreetmap.josm.spi.preferences that return IPreferencesMethods in org.openstreetmap.josm.spi.preferences with parameters of type IPreferencesModifier and TypeMethodDescriptionstatic voidConfig.setPreferencesInstance(IPreferences preferences) Install the global preference instance.