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 aBoolean
value.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 anDouble
value.EnumProperty<T extends Enum<T>> A property containing anEnum
value.FallbackProperty<T> Property that wraps another property along with a fallback property that is used as default value.IntegerProperty A property containing anInteger
value.JosmBaseDirectories Class provides base directory locations for JOSM.JosmBaseDirectories.InstanceHolder JosmUrls Class that provides URLs values for JOSM.JosmUrls.InstanceHolder ListProperty A property containing aList
ofString
as value.LongProperty A property containing anLong
value.NamedColorProperty A property containing aColor
value with additional information associated to it.ParametrizedEnumProperty<T extends Enum<T>> Abstract base class for properties withEnum
value, 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 anString
value.StrokeProperty A property that stores aBasicStroke
. -
Exception Summary Exception Description AbstractProperty.InvalidPreferenceValueException An exception that is thrown if a preference value is invalid.