Package com.macrofocus.common.properties
Class OverrideProperty<T>
java.lang.Object
com.macrofocus.common.properties.AbstractProperty<T>
com.macrofocus.common.properties.AbstractMutableProperty<T>
com.macrofocus.common.properties.OverrideProperty<T>
- All Implemented Interfaces:
MutableProperty<T>
,Property<T>
- Direct Known Subclasses:
MutableAlgorithmOverrideProperty
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOverrideProperty
(MutableProperty<Boolean> overrideDefaults, MutableProperty<T> defaultProperty) -
Method Summary
Modifier and TypeMethodDescriptionprotected MutableProperty<T>
addProperty
(MutableProperty<T> overrideProperty) protected MutableProperty<T>
getValue()
protected void
removeProperty
(MutableProperty<T> overrideProperty) void
reset()
void
Methods inherited from class com.macrofocus.common.properties.AbstractMutableProperty
bind, bindBidirectional
Methods inherited from class com.macrofocus.common.properties.AbstractProperty
addPropertyListener, addWeakPropertyListener, notifyPropertyChanged, removePropertyListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.macrofocus.common.properties.Property
addPropertyListener, addWeakPropertyListener, removePropertyListener
-
Field Details
-
defaultProperty
-
-
Constructor Details
-
OverrideProperty
public OverrideProperty(MutableProperty<Boolean> overrideDefaults, MutableProperty<T> defaultProperty)
-
-
Method Details
-
getOverrideProperty
-
createOverrideProperty
-
addProperty
-
removeProperty
-
setValue
-
getValue
-
getOverrideValue
-
reset
public void reset()
-