Class ParallelWayAction.KeyboardModifiersProperty
- java.lang.Object
-
- org.openstreetmap.josm.data.preferences.AbstractProperty<T>
-
- org.openstreetmap.josm.data.preferences.AbstractToStringProperty<java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean>>
-
- org.openstreetmap.josm.actions.mapmode.ParallelWayAction.KeyboardModifiersProperty
-
- Enclosing class:
- ParallelWayAction
private static class ParallelWayAction.KeyboardModifiersProperty extends AbstractToStringProperty<java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean>>
A property that holds the keyboard modifiers.- Since:
- 10869
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.preferences.AbstractToStringProperty
AbstractToStringProperty.ChildProperty<T>
-
Nested classes/interfaces inherited from class org.openstreetmap.josm.data.preferences.AbstractProperty
AbstractProperty.InvalidPreferenceValueException, AbstractProperty.ValueChangeEvent<T>, AbstractProperty.ValueChangeListener<T>
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.data.preferences.AbstractProperty
defaultValue, key, preferences
-
-
Constructor Summary
Constructors Constructor Description KeyboardModifiersProperty(java.lang.String key, java.lang.String defaultValue)
KeyboardModifiersProperty(java.lang.String key, java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean> defaultValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean>
createFromString(java.lang.String string)
protected java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean>
fromString(java.lang.String string)
Converts the string to an object of the given type.protected java.lang.String
toString(java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean> t)
Converts the string to an object of the given type.-
Methods inherited from class org.openstreetmap.josm.data.preferences.AbstractToStringProperty
get, getAsString, getChildProperty, getSpecialized, put
-
Methods inherited from class org.openstreetmap.josm.data.preferences.AbstractProperty
addListener, addListenerImpl, addWeakListener, cached, equals, getDefaultValue, getKey, getPreferences, hashCode, isSet, remove, removeListener, removeListenerImpl, storeDefaultValue
-
-
-
-
Constructor Detail
-
KeyboardModifiersProperty
KeyboardModifiersProperty(java.lang.String key, java.lang.String defaultValue)
-
KeyboardModifiersProperty
KeyboardModifiersProperty(java.lang.String key, java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean> defaultValue)
-
-
Method Detail
-
toString
protected java.lang.String toString(java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean> t)
Description copied from class:AbstractToStringProperty
Converts the string to an object of the given type.- Specified by:
toString
in classAbstractToStringProperty<java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean>>
- Parameters:
t
- The object.- Returns:
- The string representing the object
-
fromString
protected java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean> fromString(java.lang.String string)
Description copied from class:AbstractToStringProperty
Converts the string to an object of the given type.- Specified by:
fromString
in classAbstractToStringProperty<java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean>>
- Parameters:
string
- The string- Returns:
- The object.
-
createFromString
private static java.util.Map<ParallelWayAction.Modifier,java.lang.Boolean> createFromString(java.lang.String string)
-
-