|
JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java (public API).
|
Public Member Functions | |
| void | enable (final boolean v) |
| void | clear () |
| boolean | shouldQuit () |
| void | doQuit () |
| void | windowDestroyNotify (final WindowEvent e) |
| Window destruction has been requested. More... | |
| void | keyReleased (final KeyEvent e) |
A key has been released, excluding auto-repeat modifier keys. More... | |
| void | keyPressed (final KeyEvent e) |
A key has been pressed, excluding auto-repeat modifier keys. More... | |
Public Member Functions inherited from com.jogamp.newt.event.WindowAdapter | |
| void | windowResized (final WindowEvent e) |
| Window is resized, your application shall respect the new window dimension. More... | |
| void | windowMoved (final WindowEvent e) |
| Window has been moved. More... | |
| void | windowDestroyNotify (final WindowEvent e) |
| Window destruction has been requested. More... | |
| void | windowDestroyed (final WindowEvent e) |
| Window has been destroyed. More... | |
| void | windowGainedFocus (final WindowEvent e) |
| Window gained focus. More... | |
| void | windowLostFocus (final WindowEvent e) |
| Window lost focus. More... | |
| void | windowRepaint (final WindowUpdateEvent e) |
| Window area shall be repainted. More... | |
| void | windowResized (WindowEvent e) |
| Window is resized, your application shall respect the new window dimension. More... | |
| void | windowMoved (WindowEvent e) |
| Window has been moved. More... | |
| void | windowDestroyNotify (WindowEvent e) |
| Window destruction has been requested. More... | |
| void | windowDestroyed (WindowEvent e) |
| Window has been destroyed. More... | |
| void | windowGainedFocus (WindowEvent e) |
| Window gained focus. More... | |
| void | windowLostFocus (WindowEvent e) |
| Window lost focus. More... | |
| void | windowRepaint (WindowUpdateEvent e) |
| Window area shall be repainted. 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... | |
Definition at line 33 of file QuitAdapter.java.
| void com.jogamp.opengl.demos.util.QuitAdapter.clear | ( | ) |
Definition at line 39 of file QuitAdapter.java.
| void com.jogamp.opengl.demos.util.QuitAdapter.doQuit | ( | ) |
Definition at line 42 of file QuitAdapter.java.
| void com.jogamp.opengl.demos.util.QuitAdapter.enable | ( | final boolean | v | ) |
Definition at line 37 of file QuitAdapter.java.
| void com.jogamp.opengl.demos.util.QuitAdapter.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 62 of file QuitAdapter.java.
| void com.jogamp.opengl.demos.util.QuitAdapter.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 51 of file QuitAdapter.java.
| boolean com.jogamp.opengl.demos.util.QuitAdapter.shouldQuit | ( | ) |
Definition at line 41 of file QuitAdapter.java.
| void com.jogamp.opengl.demos.util.QuitAdapter.windowDestroyNotify | ( | final WindowEvent | e | ) |
Window destruction has been requested.
Depending on the default close operation, the window maybe destroyed or not.
In case the window will be destroyed (see above), release of resources is recommended.
Reimplemented from com.jogamp.newt.event.WindowAdapter.
Definition at line 44 of file QuitAdapter.java.