java.lang.Object
com.iamsoft.util.ui.javafx.swingfx.SwingFxUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
configureEnablement
(javafx.scene.Node pNode, Component pComponent) static void
runAndWait
(Runnable pRunnable) Runs the specifiedCallable
on the JavaFX application thread and waits for completion.static <T> T
runAndWait
(Callable<T> pCallable) Runs the specifiedCallable
on the JavaFX application thread and waits for completion.static void
runSwingAndWait
(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> T
runSwingAndWait
(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 specifiedCallable
on the JavaFX application thread and waits for completion. -
runAndWait
Runs the specifiedCallable
on the JavaFX application thread and waits for completion.- Throws:
Exception
- See Also:
-