JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT Class Reference

Testing focus key traversal of an AWT component tree with NewtCanvasAWT attached. More...

Inheritance diagram for com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT:
Collaboration diagram for com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT:

Public Member Functions

void testWindowParentingAWTFocusTraversal01Onscreen () throws InterruptedException, InvocationTargetException, AWTException
 
void testWindowParentingAWTFocusTraversal02Offscreen () throws InterruptedException, InvocationTargetException, AWTException
 
void testWindowParentingAWTFocusTraversal (final boolean onscreen) throws InterruptedException, InvocationTargetException, AWTException
 
- Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase
int getMaxTestNameLen ()
 
String getSnapshotFilename (final int sn, String postSNDetail, final GLCapabilitiesImmutable caps, final int width, final int height, final boolean sinkHasAlpha, String fileSuffix, final String destPath)
 
void snapshot (final int sn, final String postSNDetail, final GL gl, final GLReadBufferUtil readBufferUtil, final String fileSuffix, final String destPath)
 Takes a snapshot of the drawable's current front framebuffer. More...
 

Static Public Member Functions

static void initClass ()
 
static void setDemoFields (final GLEventListener demo, final GLWindow glWindow, final boolean debug)
 
static void main (final String args[]) throws IOException
 
- Static Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase
static void setResetXRandRIfX11AfterClass ()
 
static int resetXRandRIfX11 ()
 Iterates through all outputs and sets the preferred mode and normal rotation using RandR 1.3. More...
 
static int processCommand (final String[] cmdline, final OutputStream outstream, final StringBuilder outstring, final String outPrefix)
 
static final void oneTimeSetUpUITest ()
 
static final void oneTimeTearDownUITest ()
 

Detailed Description

Testing focus key traversal of an AWT component tree with NewtCanvasAWT attached.

Frame [ Button*, NewtCanvasAWT . GLWindow ]

The demo code uses NewtReparentingKeyAdapter including NEWTDemoListener functionality.

Manual invocation via main allows setting each tests's duration in milliseconds, e.g.-duration 10000, and many more, see main(String[])

Definition at line 83 of file TestParentingFocus03KeyTraversalAWT.java.

Member Function Documentation

◆ initClass()

static void com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.initClass ( )
static

Definition at line 92 of file TestParentingFocus03KeyTraversalAWT.java.

Here is the call graph for this function:

◆ main()

static void com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.main ( final String  args[]) throws IOException
static

Definition at line 342 of file TestParentingFocus03KeyTraversalAWT.java.

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

◆ setDemoFields()

static void com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.setDemoFields ( final GLEventListener  demo,
final GLWindow  glWindow,
final boolean  debug 
)
static

Definition at line 321 of file TestParentingFocus03KeyTraversalAWT.java.

Here is the call graph for this function:

◆ testWindowParentingAWTFocusTraversal()

void com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal ( final boolean  onscreen) throws InterruptedException, InvocationTargetException, AWTException

Definition at line 108 of file TestParentingFocus03KeyTraversalAWT.java.

Here is the call graph for this function:

◆ testWindowParentingAWTFocusTraversal01Onscreen()

void com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal01Onscreen ( ) throws InterruptedException, InvocationTargetException, AWTException

Definition at line 99 of file TestParentingFocus03KeyTraversalAWT.java.

◆ testWindowParentingAWTFocusTraversal02Offscreen()

void com.jogamp.opengl.test.junit.newt.event.TestParentingFocus03KeyTraversalAWT.testWindowParentingAWTFocusTraversal02Offscreen ( ) throws InterruptedException, InvocationTargetException, AWTException

Definition at line 104 of file TestParentingFocus03KeyTraversalAWT.java.


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