JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.KeyAction Class Reference
Inheritance diagram for com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.KeyAction:
Collaboration diagram for com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.KeyAction:

Public Member Functions

void keyPressed (final KeyEvent arg0)
 A key has been pressed, excluding auto-repeat modifier keys. More...
 
void keyReleased (final KeyEvent arg0)
 A key has been released, excluding auto-repeat modifier keys. More...
 
void keyPressed (KeyEvent e)
 A key has been pressed, excluding auto-repeat modifier keys. More...
 
void keyReleased (KeyEvent e)
 A key has been released, excluding auto-repeat modifier keys. More...
 

Detailed Description

Definition at line 272 of file GPURendererListenerBase01.java.

Member Function Documentation

◆ keyPressed()

void com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.KeyAction.keyPressed ( final KeyEvent  e)

A key has been pressed, excluding auto-repeat modifier keys.

See KeyEvent.

Implements com.jogamp.newt.event.KeyListener.

Definition at line 274 of file GPURendererListenerBase01.java.

Here is the call graph for this function:

◆ keyReleased()

void com.jogamp.opengl.test.junit.graph.GPURendererListenerBase01.KeyAction.keyReleased ( final KeyEvent  e)

A key has been released, excluding auto-repeat modifier keys.

See KeyEvent.

To simulated the removed keyTyped(KeyEvent e) semantics, simply apply the following constraints upfront and bail out if not matched, i.e.:

 if( !e.isPrintableKey() || e.isAutoRepeat() ) {
     return;
 }

Implements com.jogamp.newt.event.KeyListener.

Definition at line 355 of file GPURendererListenerBase01.java.


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