JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.javafx.JFXAccessor Class Reference
Collaboration diagram for com.jogamp.nativewindow.javafx.JFXAccessor:

Static Public Member Functions

static boolean isJFXAvailable ()
 
static void runOnJFXThread (final boolean wait, final Runnable task)
 Runs given task on the JFX Thread if it has not stopped and if caller is not already on the JFX Thread, otherwise execute given task on the current thread. More...
 
static Thread getJFXThread () throws NativeWindowException
 
static String getJFXThreadName ()
 
static boolean hasJFXThreadStopped ()
 
static boolean isJFXThread ()
 
static boolean isJFXThreadOrHasJFXThreadStopped ()
 
static AbstractGraphicsDevice getDevice (final Window stageWindow) throws NativeWindowException, UnsupportedOperationException
 
static AbstractGraphicsScreen getScreen (final AbstractGraphicsDevice device, final int screen)
 
static int getNativeVisualID (final AbstractGraphicsDevice device, final long windowHandle)
 
static long getWindowHandle (final Window stageWindow) throws NativeWindowException
 

Detailed Description

Definition at line 54 of file JFXAccessor.java.

Member Function Documentation

◆ getDevice()

static AbstractGraphicsDevice com.jogamp.nativewindow.javafx.JFXAccessor.getDevice ( final Window  stageWindow) throws NativeWindowException, UnsupportedOperationException
static
Parameters
stageWindowthe JavaFX top heavyweight window handle
Returns
the AbstractGraphicsDevice w/ the native device handle
Exceptions
NativeWindowExceptionif an exception occurs retrieving the window handle or deriving the native device
UnsupportedOperationExceptionif the windowing system is not supported

Definition at line 227 of file JFXAccessor.java.

◆ getJFXThread()

static Thread com.jogamp.nativewindow.javafx.JFXAccessor.getJFXThread ( ) throws NativeWindowException
static

Definition at line 188 of file JFXAccessor.java.

Here is the caller graph for this function:

◆ getJFXThreadName()

static String com.jogamp.nativewindow.javafx.JFXAccessor.getJFXThreadName ( )
static

Definition at line 195 of file JFXAccessor.java.

Here is the call graph for this function:

◆ getNativeVisualID()

static int com.jogamp.nativewindow.javafx.JFXAccessor.getNativeVisualID ( final AbstractGraphicsDevice  device,
final long  windowHandle 
)
static

Definition at line 255 of file JFXAccessor.java.

Here is the call graph for this function:

◆ getScreen()

static AbstractGraphicsScreen com.jogamp.nativewindow.javafx.JFXAccessor.getScreen ( final AbstractGraphicsDevice  device,
final int  screen 
)
static
Parameters
device
screen-1 is default screen of the given device, e.g. maybe 0 or determined by native API. >= 0 is specific screen
Returns

Definition at line 251 of file JFXAccessor.java.

Here is the call graph for this function:

◆ getWindowHandle()

static long com.jogamp.nativewindow.javafx.JFXAccessor.getWindowHandle ( final Window  stageWindow) throws NativeWindowException
static
Parameters
stageWindowthe JavaFX top heavyweight window handle
Returns
the native window handle
Exceptions
NativeWindowExceptionif an exception occurs retrieving the window handle

Definition at line 270 of file JFXAccessor.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasJFXThreadStopped()

static boolean com.jogamp.nativewindow.javafx.JFXAccessor.hasJFXThreadStopped ( )
static
Returns
true if the JFX Thread has stopped

Definition at line 202 of file JFXAccessor.java.

Here is the call graph for this function:

◆ isJFXAvailable()

static boolean com.jogamp.nativewindow.javafx.JFXAccessor.isJFXAvailable ( )
static

Definition at line 148 of file JFXAccessor.java.

Here is the caller graph for this function:

◆ isJFXThread()

static boolean com.jogamp.nativewindow.javafx.JFXAccessor.isJFXThread ( )
static
Returns
true if caller is on the JFX Thread

Definition at line 209 of file JFXAccessor.java.

Here is the call graph for this function:

◆ isJFXThreadOrHasJFXThreadStopped()

static boolean com.jogamp.nativewindow.javafx.JFXAccessor.isJFXThreadOrHasJFXThreadStopped ( )
static
Returns
true if the JFX Thread has stopped or if caller is on the JFX Thread

Definition at line 216 of file JFXAccessor.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ runOnJFXThread()

static void com.jogamp.nativewindow.javafx.JFXAccessor.runOnJFXThread ( final boolean  wait,
final Runnable  task 
)
static

Runs given task on the JFX Thread if it has not stopped and if caller is not already on the JFX Thread, otherwise execute given task on the current thread.

Parameters
wait
task
See also
isJFXThreadOrHasJFXThreadStopped()

Definition at line 157 of file JFXAccessor.java.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: