Example usage for javafx.scene.layout HBox getScene

List of usage examples for javafx.scene.layout HBox getScene

Introduction

In this page you can find the example usage for javafx.scene.layout HBox getScene.

Prototype

public final Scene getScene() 

Source Link

Usage

From source file:org.pdfsam.ui.commons.ClosePaneTest.java

@Test
public void hide() {
    Assume.assumeTrue(!SystemUtils.IS_OS_WINDOWS);
    click("show");
    verifyThat(".pdfsam-container", (HBox n) -> n.getScene().getWindow().isShowing());
    click(".pdfsam-button");
    verifyThat(".pdfsam-container", (HBox n) -> !n.getScene().getWindow().isShowing());
}