Class WritableValueBase<T>
java.lang.Object
net.thevpc.common.props.impl.PropertyBase
net.thevpc.common.props.impl.ObservableValueBase<T>
net.thevpc.common.props.impl.WritableValueBase<T>
- All Implemented Interfaces:
GetValueModel<T>, ObservableValue<T>, Property, SetValueModel<T>, WritableProperty, WritableValue<T>, WritableValueModel<T>
- Direct Known Subclasses:
MappedValueBase, WritableIndexedNodeImpl, WritableListBase, WritableNamedNodeImpl, WritableValueImpl
-
Field Summary
FieldsFields inherited from class ObservableValueBase
modelFields inherited from class PropertyBase
listeners, parentProperty -
Constructor Summary
ConstructorsConstructorDescriptionWritableValueBase(String name, PropertyType type, WritableValueModel<T> value) WritableValueBase(String name, PropertyType type, T value) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObservableValue<T> protected Pathget()booleanprotected WritableValueModel<T> model()readOnly()voidvetos()Methods inherited from class ObservableValueBase
equals, hashCode, toStringMethods inherited from class PropertyBase
createListeners, events, fullPropertyName, parentProperty, propagateEvents, propertyName, propertyType, userObjectsMethods inherited from interface ObservableValue
bindConvert, bindTarget, doNonNull, getOr, getOrDefault, getRequired, isNotNull, isNull, mapBooleanValue, mapDoubleValue, mapEqualsValue, mapFloatValue, mapIntValue, mapLongValue, mapNotEqualsValue, mapStringValue, mapValue, mapValue, propertyClass, unbind, withValueMethods inherited from interface Property
events, getChildProperty, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, userObjects, with, withMethods inherited from interface WritableValue
bind, bind, bind, bind, bindSource, bindTo, getOrCompute, setAndBind, setAndBindConvert, setUsing, setUsingNonNull
-
Field Details
-
vetos
-
adjusters
-
-
Constructor Details
-
WritableValueBase
-
WritableValueBase
-
-
Method Details
-
isWritable
public boolean isWritable()- Specified by:
isWritablein interfaceProperty
-
model
- Overrides:
modelin classObservableValueBase<T>
-
get
- Specified by:
getin interfaceGetValueModel<T>- Specified by:
getin interfaceObservableValue<T>
-
set
- Specified by:
setin interfaceSetValueModel<T>- Specified by:
setin interfaceWritableValue<T>
-
currentPath
-
readOnly
- Specified by:
readOnlyin interfaceObservableValue<T>- Specified by:
readOnlyin interfaceProperty
-
createReadOnly
-
adjusters
- Specified by:
adjustersin interfaceWritableProperty
-
vetos
- Specified by:
vetosin interfaceWritableProperty
-