29package com.jogamp.opengl.test.junit.util;
31import com.jogamp.newt.event.*;
34 boolean shouldQuit =
false;
35 boolean enabled =
true;
37 public void enable(
final boolean v) { enabled = v; }
39 public void clear() { shouldQuit =
false; }
42 public void doQuit() { shouldQuit=
true; }
46 System.err.println(
"QUIT Window "+Thread.currentThread());
57 System.err.println(
"QUIT Key "+Thread.currentThread());
final char getKeyChar()
Returns the UTF-16 character reflecting the key symbol incl.
static boolean isPrintableKey(final short uniChar, final boolean isKeyChar)
Returns true if given uniChar represents a printable character, i.e.
NEWT Window events are provided for notification purposes ONLY.
void keyReleased(final KeyEvent e)
A key has been released, excluding auto-repeat modifier keys.
void enable(final boolean v)
void keyPressed(final KeyEvent e)
A key has been pressed, excluding auto-repeat modifier keys.
void windowDestroyNotify(final WindowEvent e)
Window destruction has been requested.
NEWT WindowEvent listener.