All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.reactfx.inhibeans.binding.Binding Maven / Gradle / Ivy

There is a newer version: 2.0-M5
Show newest version
package org.reactfx.inhibeans.binding;

import org.reactfx.inhibeans.value.ObservableValue;
import org.reactfx.value.Val;

@Deprecated
public interface Binding
extends javafx.beans.binding.Binding, ObservableValue {

    /**
     * @deprecated Use {@link Val#suspendable(javafx.beans.value.ObservableValue)}.
     */
    @Deprecated
    public static  Binding wrap(javafx.beans.value.ObservableValue source) {
        return new ObjectBinding() {
            { bind(source); }

            @Override
            protected T computeValue() { return source.getValue(); }
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy