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

org.reactfx.value.SuspendableVarWrapper Maven / Gradle / Ivy

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

import javafx.beans.value.ObservableValue;

class SuspendableVarWrapper
extends SuspendableValWrapper
implements SuspendableVar {
    private final Var delegate;

    protected SuspendableVarWrapper(Var p) {
        super(p);
        this.delegate = p;
    }

    @Override
    public void bind(ObservableValue other) {
        delegate.bind(other);
    }

    @Override
    public boolean isBound() {
        return delegate.isBound();
    }

    @Override
    public void unbind() {
        delegate.unbind();
    }

    @Override
    public void setValue(T value) {
        delegate.setValue(value);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy