Package org.openstreetmap.josm.spi.preferences
Service for preferences and base directory lookup.
-
Interface Summary Interface Description IBaseDirectories Interface for a provider of certain base directory locations.IPreferences Interface for preference handling.IUrls Interface for a provider of certain URLs.PreferenceChangedListener Listener to preference change events.PreferenceChangeEvent Event triggered when a preference entry value changes.Setting<T> Interface for a preference value.SettingVisitor Visitor interface forSetting
implementations. -
Class Summary Class Description AbstractPreferences Abstract implementation of theIPreferences
interface.AbstractSetting<T> Base abstract class of all settings, holding the setting value.Config Class to hold the global preferences object and the provider of base directories.DefaultPreferenceChangeEvent Default implementation of thePreferenceChangeEvent
interface.ListListSetting Setting containing aList
ofList
s ofString
values.ListSetting Setting containing aList
ofString
values.MapListSetting Setting containing aList
ofMap
s ofString
values.MemoryPreferences Preferences implementation that keeps all settings in memory.StringSetting Setting containing aString
value.