public class GraphicFrameworkSupport
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static GraphicFrameworkSupport |
getInstance()
Return the unique instance.
|
java.lang.Object |
invokeAndWait(short framework,
RunnableObject runnable)
Invoke a runnable in the specified graphic framework.
|
boolean |
isJavaFXAvailable()
Return true if the JavaFX framework is available.
|
boolean |
isSwingAvailable()
Return true if the Swing framework is available.
|
public static GraphicFrameworkSupport getInstance()
public boolean isSwingAvailable()
public boolean isJavaFXAvailable()
public java.lang.Object invokeAndWait(short framework, RunnableObject runnable)
framework
- the graphic framework (note that noe is for direct invocation)runnable
- the runnableCopyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence