public class ReadOnlyValue<T> extends DelegateProperty<T> implements ObservableValue<T>
base, listeners, vetos| Constructor and Description |
|---|
ReadOnlyValue(ObservableValue<T> v) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(WritableValue<T> other) |
<T2> void |
bindConvert(WritableValue<T2> other,
Function<T,T2> map) |
T |
get() |
ObservableValue<T> |
getBase() |
ObservableValue<T> |
readOnly() |
<T2> void |
unbind(WritableValue<T2> other) |
isWritable, listeners, name, type, userObjects, vetosclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritable, name, type, userObjects, vetoslistenerspublic ReadOnlyValue(ObservableValue<T> v)
public void bind(WritableValue<T> other)
bind in interface ObservableValue<T>public <T2> void bindConvert(WritableValue<T2> other, Function<T,T2> map)
bindConvert in interface ObservableValue<T>public <T2> void unbind(WritableValue<T2> other)
unbind in interface ObservableValue<T>public ObservableValue<T> readOnly()
readOnly in interface ObservableValue<T>readOnly in interface Propertypublic ObservableValue<T> getBase()
getBase in class DelegateProperty<T>public T get()
get in interface ObservableValue<T>Copyright © 2021 vpc open source initiative. All rights reserved.