public class DefaultJavaFXWindowDisplayHandler extends java.lang.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(java.lang.String name,
javafx.stage.Window window)
Callback for hiding a window.
|
void |
show(java.lang.String name,
javafx.stage.Window window)
Callback for displaying a window.
|
public void show(@Nonnull java.lang.String name, @Nonnull javafx.stage.Window window)
WindowDisplayHandler
show
in interface WindowDisplayHandler<javafx.stage.Window>
window
- the window to be displayedpublic void hide(@Nonnull java.lang.String name, @Nonnull javafx.stage.Window window)
WindowDisplayHandler
hide
in interface WindowDisplayHandler<javafx.stage.Window>
window
- the window to hide