java.lang.Object
com.iamsoft.util.ui.javafx.swingfx.SwingFxUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureEnablement(javafx.scene.Node pNode, Component pComponent) static voidrunAndWait(Runnable pRunnable) Runs the specifiedCallableon the JavaFX application thread and waits for completion.static <T> TrunAndWait(Callable<T> pCallable) Runs the specifiedCallableon the JavaFX application thread and waits for completion.static voidrunSwingAndWait(Runnable pRunnable) Note that, to avoid freezing, this method should be used exclusively, meaning, it shouldn't be mixed with SwingUtilities.invokeAndWait(Runnable) and SwingUtilities.invokeLater(Runnable).static <T> TrunSwingAndWait(Callable<T> pCallable) Note that, to avoid freezing, this method should be used exclusively, meaning, it shouldn't be mixed with SwingUtilities.invokeAndWait(Runnable) and SwingUtilities.invokeLater(Runnable).
-
Method Details
-
configureEnablement
-
runSwingAndWait
Note that, to avoid freezing, this method should be used exclusively, meaning, it shouldn't be mixed with SwingUtilities.invokeAndWait(Runnable) and SwingUtilities.invokeLater(Runnable). -
runSwingAndWait
Note that, to avoid freezing, this method should be used exclusively, meaning, it shouldn't be mixed with SwingUtilities.invokeAndWait(Runnable) and SwingUtilities.invokeLater(Runnable). -
runAndWait
Runs the specifiedCallableon the JavaFX application thread and waits for completion. -
runAndWait
Runs the specifiedCallableon the JavaFX application thread and waits for completion.- Throws:
Exception- See Also:
-