Example usage for javafx.stage Window setOnHiding

List of usage examples for javafx.stage Window setOnHiding

Introduction

In this page you can find the example usage for javafx.stage Window setOnHiding.

Prototype

public final void setOnHiding(EventHandler<WindowEvent> value) 

Source Link

Usage

From source file:org.beryx.viewreka.fxui.settings.FxPropsManager.java

public void attachTo(Window window) {
    window.setOnShowing(ev -> applySettings());
    window.setOnHiding(ev -> saveSettings());
}