JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.demos.graph.ui.UIShapeClippingDemo00.KeyAction Class Reference
Inheritance diagram for com.jogamp.opengl.demos.graph.ui.UIShapeClippingDemo00.KeyAction:
Collaboration diagram for com.jogamp.opengl.demos.graph.ui.UIShapeClippingDemo00.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 362 of file UIShapeClippingDemo00.java.

Member Function Documentation

◆ keyPressed()

void com.jogamp.opengl.demos.graph.ui.UIShapeClippingDemo00.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 364 of file UIShapeClippingDemo00.java.

Here is the call graph for this function:

◆ keyReleased()

void com.jogamp.opengl.demos.graph.ui.UIShapeClippingDemo00.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 390 of file UIShapeClippingDemo00.java.


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