Interface WritableValue<T>
- All Superinterfaces:
GetValueModel<T>, ObservableValue<T>, Property, SetValueModel<T>, WritableProperty, WritableValueModel<T>
- All Known Subinterfaces:
WritableBoolean, WritableIndexedNode<T>, WritableInt, WritableList<T>, WritableListIndexSelection<T>, WritableListIndexSelectionExt<T>, WritableListSelection<T>, WritableNamedNode<T>, WritableString
- All Known Implementing Classes:
MappedValueBase, MappedValueBoolean, WritableBooleanImpl, WritableDouble, WritableFloat, WritableIndexedNodeImpl, WritableIntImpl, WritableListAdapter, WritableListBase, WritableListImpl, WritableListIndexSelectionImpl, WritableListSelectionImpl, WritableLong, WritableNamedNodeImpl, WritableSetImpl, WritableStringImpl, WritableValueBase, WritableValueDelegate, WritableValueImpl
public interface WritableValue<T>
extends ObservableValue<T>, WritableProperty, WritableValueModel<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidbind(ObservableValue<T> source, SetValueModel<T> target) default voiddefault voiddefault voidbind(WritableValue<T> target) default voidbindSource(ObservableValue<T> source) default voidbindTo(SetValueModel<T> other) default TgetOrCompute(Supplier<T> t) voiddefault voidsetAndBind(WritableValue<T> other) default <T2> voidsetAndBindConvert(WritableValue<T2> other, Function<T, T2> map, Function<T2, T> mapBack) default voiddefault voidsetUsingNonNull(Supplier<T> v) Methods inherited from interface ObservableValue
bindConvert, bindTarget, doNonNull, get, getOr, getOrDefault, getRequired, isNotNull, isNull, mapBooleanValue, mapDoubleValue, mapEqualsValue, mapFloatValue, mapIntValue, mapLongValue, mapNotEqualsValue, mapStringValue, mapValue, mapValue, propertyClass, readOnly, unbind, withValueMethods inherited from interface Property
events, getChildProperty, isWritable, onChange, onChange, onChangeAndInit, onChangeAndInit, onPropagatedChange, onPropagatedChange, onPropagatedChangeAndInit, onPropagatedChangeAndInit, propertyName, propertyType, userObjects, with, withMethods inherited from interface WritableProperty
adjusters, vetos
-
Method Details
-
getOrCompute
-
setUsingNonNull
-
setUsing
-
set
- Specified by:
setin interfaceSetValueModel<T>
-
bindTo
-
bindSource
-
bind
-
bind
-
bind
-
bind
-
setAndBind
-
setAndBindConvert
default <T2> void setAndBindConvert(WritableValue<T2> other, Function<T, T2> map, Function<T2, T> mapBack)
-