JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT Class Reference
Inheritance diagram for com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT:
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT:

Public Member Functions

void test01Onscreen () throws AWTException, InterruptedException, InvocationTargetException
 
void test02Offscreen () throws AWTException, InterruptedException, InvocationTargetException
 
- 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 releaseClass ()
 
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 ()
 

Protected Member Functions

JPanel create (final JFrame[] top, final int width, final int height, final int num) throws InterruptedException, InvocationTargetException
 
void add (final Container cont, final Component comp, final JFrame jFrame) throws InterruptedException, InvocationTargetException
 
void dispose (final GLCanvas glc) throws InterruptedException, InvocationTargetException
 
void setFrameVisible (final JFrame jFrame, final boolean visible) throws InterruptedException, InvocationTargetException
 
void setComponentVisible (final Component comp, final boolean visible) throws InterruptedException, InvocationTargetException
 
void dispose (final JFrame jFrame) throws InterruptedException, InvocationTargetException
 
void runTestGL (final boolean onscreen, final GLCapabilities caps) throws AWTException, InterruptedException, InvocationTargetException
 

Detailed Description

Definition at line 64 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

Member Function Documentation

◆ add()

void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.add ( final Container  cont,
final Component  comp,
final JFrame  jFrame 
) throws InterruptedException, InvocationTargetException
protected

Definition at line 108 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

◆ create()

JPanel com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.create ( final JFrame[]  top,
final int  width,
final int  height,
final int  num 
) throws InterruptedException, InvocationTargetException
protected

Definition at line 88 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

◆ dispose() [1/2]

void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.dispose ( final GLCanvas  glc) throws InterruptedException, InvocationTargetException
protected

Definition at line 119 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

◆ dispose() [2/2]

void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.dispose ( final JFrame  jFrame) throws InterruptedException, InvocationTargetException
protected

Definition at line 142 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

◆ initClass()

static void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.initClass ( )
static

Definition at line 73 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

Here is the call graph for this function:

◆ main()

static void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.main ( final String  args[]) throws IOException
static

Definition at line 263 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

◆ releaseClass()

static void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.releaseClass ( )
static

Definition at line 85 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

◆ runTestGL()

void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.runTestGL ( final boolean  onscreen,
final GLCapabilities  caps 
) throws AWTException, InterruptedException, InvocationTargetException
protected

Definition at line 151 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

Here is the call graph for this function:

◆ setComponentVisible()

void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.setComponentVisible ( final Component  comp,
final boolean  visible 
) throws InterruptedException, InvocationTargetException
protected

Definition at line 135 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

◆ setFrameVisible()

void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.setFrameVisible ( final JFrame  jFrame,
final boolean  visible 
) throws InterruptedException, InvocationTargetException
protected

Definition at line 128 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

◆ test01Onscreen()

void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.test01Onscreen ( ) throws AWTException, InterruptedException, InvocationTargetException

Definition at line 232 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

Here is the call graph for this function:

◆ test02Offscreen()

void com.jogamp.opengl.test.junit.jogl.awt.TestBug664GLCanvasSetVisibleSwingAWT.test02Offscreen ( ) throws AWTException, InterruptedException, InvocationTargetException

Definition at line 248 of file TestBug664GLCanvasSetVisibleSwingAWT.java.

Here is the call graph for this function:

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