public class GuiUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static javafx.util.Duration |
UI_ANIMATION_TIME |
static int |
UI_ANIMATION_TIME_MSEC |
| Constructor and Description |
|---|
GuiUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
blurIn(javafx.scene.Node node) |
static void |
blurOut(javafx.scene.Node node) |
static void |
checkGuiThread() |
static void |
crashAlert(Throwable t) |
static javafx.animation.ScaleTransition |
explodeOut(javafx.scene.Node node) |
static javafx.animation.Animation |
fadeIn(javafx.scene.Node ui) |
static javafx.animation.Animation |
fadeIn(javafx.scene.Node ui,
int delayMillis) |
static javafx.animation.Animation |
fadeOut(javafx.scene.Node ui) |
static javafx.animation.Animation |
fadeOutAndRemove(javafx.util.Duration duration,
javafx.scene.layout.Pane parentPane,
javafx.scene.Node... nodes) |
static javafx.animation.Animation |
fadeOutAndRemove(javafx.scene.layout.Pane parentPane,
javafx.scene.Node... nodes) |
static URL |
getResource(String name)
A useful helper for development purposes.
|
static void |
handleCrashesOnThisThread()
Show a GUI alert box for any unhandled exceptions that propagate out of this thread.
|
static void |
informationalAlert(String message,
String details,
Object... args) |
static void |
runAlert(BiConsumer<javafx.stage.Stage,AlertWindowController> setup) |
static javafx.animation.ScaleTransition |
zoomIn(javafx.scene.Node node) |
static javafx.animation.ScaleTransition |
zoomIn(javafx.scene.Node node,
int delayMillis) |
public static final int UI_ANIMATION_TIME_MSEC
public static final javafx.util.Duration UI_ANIMATION_TIME
public static void runAlert(BiConsumer<javafx.stage.Stage,AlertWindowController> setup)
public static void crashAlert(Throwable t)
public static void handleCrashesOnThisThread()
public static void informationalAlert(String message, String details, Object... args)
public static javafx.animation.Animation fadeIn(javafx.scene.Node ui)
public static javafx.animation.Animation fadeIn(javafx.scene.Node ui,
int delayMillis)
public static javafx.animation.Animation fadeOut(javafx.scene.Node ui)
public static javafx.animation.Animation fadeOutAndRemove(javafx.scene.layout.Pane parentPane,
javafx.scene.Node... nodes)
public static javafx.animation.Animation fadeOutAndRemove(javafx.util.Duration duration,
javafx.scene.layout.Pane parentPane,
javafx.scene.Node... nodes)
public static void blurOut(javafx.scene.Node node)
public static void blurIn(javafx.scene.Node node)
public static javafx.animation.ScaleTransition zoomIn(javafx.scene.Node node)
public static javafx.animation.ScaleTransition zoomIn(javafx.scene.Node node,
int delayMillis)
public static javafx.animation.ScaleTransition explodeOut(javafx.scene.Node node)
public static URL getResource(String name)
public static void checkGuiThread()
Copyright © 2016. All rights reserved.