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

io.sitoolkit.wt.gui.infra.fx.FxUtils Maven / Gradle / Ivy

The newest version!
package io.sitoolkit.wt.gui.infra.fx;

import javafx.beans.value.ObservableBooleanValue;
import javafx.scene.Node;

public class FxUtils {

  public static void bindVisible(Node node, ObservableBooleanValue visible) {
    node.visibleProperty().bind(visible);
    node.managedProperty().bind(visible);
  }

  public static void bindDisable(Node node, ObservableBooleanValue disable) {
    node.disableProperty().bind(disable);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy