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

Test whether or not event modifiers are preserved by NEWT when the canvas is a NewtCanvasAWT. More...

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

Static Public Member Functions

static void beforeClass () throws Exception
 
static void afterClass () throws Exception
 
static void main (final String args[]) throws Exception
 
- Static Public Member Functions inherited from com.jogamp.opengl.test.junit.newt.event.BaseNewtEventModifiers
static int getAWTButtonMask (final int button)
 
static void baseBeforeClass () throws Exception
 Must be called from subclass @BeforeClass code, allowing it to perform its specific initialization first. More...
 
- 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 ()
 

Additional Inherited Members

- Public Member Functions inherited from com.jogamp.opengl.test.junit.newt.event.BaseNewtEventModifiers
void test01SingleButtonPressAndRelease () throws Exception
 
void test02SingleButtonPressAndReleaseWithShift () throws Exception
 
void test03SingleButtonPressAndReleaseWithCtrl () throws Exception
 
void test10HoldOneButtonAndPressAnother () throws Exception
 The META and ALT tests get too tied up with functions of the window system on X11, so it's probably best to leave them commented out. More...
 
void test20PressAllButtonsInSequence () throws Exception
 
void test30SingleButtonClickAndDrag () throws Exception
 
void eventDispatchedPostTestDelay () throws Exception
 
void clearKeyboadAndMouse () throws Exception
 
- 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...
 
- Protected Member Functions inherited from com.jogamp.opengl.test.junit.newt.event.BaseNewtEventModifiers
void eventDispatch ()
 
- Static Protected Attributes inherited from com.jogamp.opengl.test.junit.newt.event.BaseNewtEventModifiers
static final int TEST_FRAME_X = 100
 
static final int TEST_FRAME_Y = 100
 
static final int TEST_FRAME_WIDTH = 400
 
static final int TEST_FRAME_HEIGHT = 400
 
static final int INITIAL_MOUSE_X = TEST_FRAME_X + ( TEST_FRAME_WIDTH / 2 )
 
static final int INITIAL_MOUSE_Y = TEST_FRAME_Y + ( TEST_FRAME_HEIGHT / 2 )
 
static final int MS_ROBOT_KEY_PRESS_DELAY = 50
 
static final int MS_ROBOT_KEY_RELEASE_DELAY = 50
 
static final int MS_ROBOT_MOUSE_MOVE_DELAY = 200
 
static final int MS_ROBOT_AUTO_DELAY = 50
 
static final int MS_ROBOT_POST_TEST_DELAY = 100
 
static final boolean _debug = true
 
static final PrintStream _debugPrintStream = System.err
 
static java.awt.Robot _robot
 
static TestMouseListener _testMouseListener
 

Detailed Description

Test whether or not event modifiers are preserved by NEWT when the canvas is a NewtCanvasAWT.

Definition at line 57 of file TestNewtEventModifiersNewtCanvasAWT.java.

Member Function Documentation

◆ afterClass()

static void com.jogamp.opengl.test.junit.newt.event.TestNewtEventModifiersNewtCanvasAWT.afterClass ( ) throws Exception
static

Definition at line 104 of file TestNewtEventModifiersNewtCanvasAWT.java.

Here is the call graph for this function:

◆ beforeClass()

static void com.jogamp.opengl.test.junit.newt.event.TestNewtEventModifiersNewtCanvasAWT.beforeClass ( ) throws Exception
static

Definition at line 65 of file TestNewtEventModifiersNewtCanvasAWT.java.

Here is the call graph for this function:

◆ main()

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

Definition at line 119 of file TestNewtEventModifiersNewtCanvasAWT.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: