public final class Bind
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <SOURCE_TYPE,DESTINATION_TYPE> |
bind(IObservableValue<SOURCE_TYPE> source,
IObservableValue<DESTINATION_TYPE> destination,
IBindingConverter<SOURCE_TYPE,DESTINATION_TYPE> converter)
Binds two observable values with potentially different type bidirectional using a
binding converter.
|
static <VALUE_TYPE> |
bind(IObservableValue<VALUE_TYPE> source,
IObservableValue<VALUE_TYPE> destination)
Binds two observable values with same type bidirectional.
|
static IBind |
getInstance()
Gets the bind instance
|
public static IBind getInstance()
public static <VALUE_TYPE> IBinding bind(IObservableValue<VALUE_TYPE> source, IObservableValue<VALUE_TYPE> destination)
source
- The source value to bind, must not be nulldestination
- The destination value to bind, must not be nullpublic static <SOURCE_TYPE,DESTINATION_TYPE> IBinding bind(IObservableValue<SOURCE_TYPE> source, IObservableValue<DESTINATION_TYPE> destination, IBindingConverter<SOURCE_TYPE,DESTINATION_TYPE> converter)
source
- The source value to bind, must not be nulldestination
- The destination value to bind, must not be nullconverter
- The binding converter to use, must not be nullSiehe auch Jowidgets Nutzerhandbuch