public class WritableValueHelper extends Object
| Constructor and Description |
|---|
WritableValueHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Property |
getChildProperty(Property parent,
Path relativePath) |
static Property |
getChildProperty(Property parent,
String name) |
static <T> void |
helperBind(WritableValue<T> first,
Property root,
Path rootPath,
Path relativePath) |
static <T,T2> void |
helperBindConvert(ObservableValue<T> me,
WritableValue<T2> other,
Function<T,T2> map) |
static <T> void |
helperBindSource(WritableValue<T> me,
ObservableValue<T> source) |
static <T> void |
helperBindTarget(ObservableValue<T> me,
SetValueModel<T> other) |
static <T2> void |
helperRemoveBindListeners(PropertyListeners listeners,
SetValueModel<T2> other) |
static <T,T2> void |
setAndBindConvert(WritableValue<T> base,
WritableValue<T2> other,
Function<T,T2> map,
Function<T2,T> mapBack) |
public static <T> void helperBind(WritableValue<T> first, Property root, Path rootPath, Path relativePath)
public static <T> void helperBindTarget(ObservableValue<T> me, SetValueModel<T> other)
public static <T,T2> void setAndBindConvert(WritableValue<T> base, WritableValue<T2> other, Function<T,T2> map, Function<T2,T> mapBack)
public static <T> void helperBindSource(WritableValue<T> me, ObservableValue<T> source)
public static <T,T2> void helperBindConvert(ObservableValue<T> me, WritableValue<T2> other, Function<T,T2> map)
public static <T2> void helperRemoveBindListeners(PropertyListeners listeners, SetValueModel<T2> other)
Copyright © 2022 vpc open source initiative. All rights reserved.