public class DefaultJavaFXWindowDisplayHandler extends Object implements JavaFXWindowDisplayHandler
WindowDisplayHandler
that simply makes the window
visible on show() and disposes it on hide().Constructor and Description |
---|
DefaultJavaFXWindowDisplayHandler() |
Modifier and Type | Method and Description |
---|---|
void |
hide(String name,
javafx.stage.Window window)
Callback for hiding a window.
|
void |
show(String name,
javafx.stage.Window window)
Callback for displaying a window.
|
public void show(@Nonnull String name, @Nonnull javafx.stage.Window window)
WindowDisplayHandler
show
in interface WindowDisplayHandler<javafx.stage.Window>
window
- the window to be displayedpublic void hide(@Nonnull String name, @Nonnull javafx.stage.Window window)
WindowDisplayHandler
hide
in interface WindowDisplayHandler<javafx.stage.Window>
window
- the window to hide