Example usage for javafx.scene.web WebView prefHeightProperty

List of usage examples for javafx.scene.web WebView prefHeightProperty

Introduction

In this page you can find the example usage for javafx.scene.web WebView prefHeightProperty.

Prototype

public DoubleProperty prefHeightProperty() 

Source Link

Document

Preferred height property.

Usage

From source file:ijfx.ui.widgets.PluginInfoPane.java

private void installWebView(WebView view) {
    this.webView = view;

    view.prefWidthProperty().bind(widthProperty());
    view.prefHeightProperty().bind(heightProperty());
    setCenter(view);//w  w w .java  2s.  c o m
    webView.addEventHandler(MouseEvent.MOUSE_CLICKED, this::onMouseClicked);
    messageDispayer = new RichMessageDisplayer(webView);
    updateWebView();
}