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 voidremoveProperty(MutableProperty<T> overrideProperty) voidreset()voidMethods inherited from class com.macrofocus.common.properties.AbstractMutableProperty
bind, bindBidirectionalMethods inherited from class com.macrofocus.common.properties.AbstractProperty
addPropertyListener, addWeakPropertyListener, notifyPropertyChanged, removePropertyListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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()
-