Example usage for javafx.scene.layout Region maxHeightProperty

List of usage examples for javafx.scene.layout Region maxHeightProperty

Introduction

In this page you can find the example usage for javafx.scene.layout Region maxHeightProperty.

Prototype

public final DoubleProperty maxHeightProperty() 

Source Link

Usage

From source file:mesclasses.view.TimetableController.java

private void bindHeight(Region node, Pane parent, int divider) {
    node.minHeightProperty().bind(parent.heightProperty().divide(divider));
    node.prefHeightProperty().bind(parent.heightProperty().divide(divider));
    node.maxHeightProperty().bind(parent.heightProperty().divide(divider));
}