Package org.openstreetmap.josm.data.preferences
Provides the classes for storing JOSM user preferences.
-
Interface Summary Interface Description AbstractProperty.ValueChangeListener<T> A listener that listens to changes in the properties value. -
Class Summary Class Description AbstractProperty<T> Captures the common functionality of preference propertiesAbstractProperty.ValueChangeEvent<T> An event that is triggered if the value of a property changes.AbstractToStringProperty<T> This class represents a property that can be represented as String.AbstractToStringProperty.ChildProperty<T> This is a version of this property that attempts to get the property with a more specialized key and - if that fails - uses the property value as default.BooleanProperty A property containing aBooleanvalue.CachedProperty<T> This is an old-style cached preference value.CachingProperty<T> This is a special wrapper ofAbstractProperty.ColorInfo Data class to hold information on a named color setting.DoubleProperty A property containing anDoublevalue.EnumProperty<T extends java.lang.Enum<T>> A property containing anEnumvalue.FallbackProperty<T> Property that wraps another property along with a fallback property that is used as default value.IntegerProperty A property containing anIntegervalue.JosmBaseDirectories Class provides base directory locations for JOSM.JosmBaseDirectories.InstanceHolder JosmUrls Class that provides URLs values for JOSM.JosmUrls.InstanceHolder ListProperty A property containing aListofStringas value.LongProperty A property containing anLongvalue.NamedColorProperty A property containing aColorvalue with additional information associated to it.ParametrizedEnumProperty<T extends java.lang.Enum<T>> Abstract base class for properties withEnumvalue, where the preference key is generated from a list of parameters.PreferencesReader Loads preferences from XML.PreferencesWriter Write preferences to XML.StringProperty A property containing anStringvalue.StrokeProperty A property that stores aBasicStroke. -
Exception Summary Exception Description AbstractProperty.InvalidPreferenceValueException An exception that is thrown if a preference value is invalid.