From bdfb74818aa224bd96a15f232f417e921e0d8f63 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 17 Jun 2013 10:00:23 +0200 Subject: Fix Bug 688: Removal of NEWT KeyEvent.EVENT_KEY_TYPED and KeyListener.keyTyped(KeyEvent) - Part2: API Documentation and Comments --- .../test/junit/newt/event/TestNewtKeyEventAutoRepeatAWT.java | 7 +++---- .../opengl/test/junit/newt/event/TestNewtKeyEventOrderAWT.java | 1 - 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src/test/com/jogamp/opengl') diff --git a/src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyEventAutoRepeatAWT.java b/src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyEventAutoRepeatAWT.java index f3a5c4aa9..fca1a4d93 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyEventAutoRepeatAWT.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyEventAutoRepeatAWT.java @@ -68,20 +68,19 @@ import com.jogamp.opengl.test.junit.util.*; *
    *
  1. {@link #EVENT_KEY_PRESSED}
  2. *
  3. {@link #EVENT_KEY_RELEASED}
  4. - *
  5. {@link #EVENT_KEY_TYPED}
  6. *
*

*

* Auto-Repeat shall behave as follow: *

-    D = pressed, U = released, T = typed
+    D = pressed, U = released
     0 = normal, 1 = auto-repeat
 
-    D(0), [ U(1), T(1), D(1), U(1) T(1) ..], U(0) T(0)
+    D(0), [ U(1), D(1), U(1), D(1) ..], U(0)
  * 
* * The idea is if you mask out auto-repeat in your event listener - * you just get one long pressed key D/U/T triple. + * you just get one long pressed key D/U tuple. */ public class TestNewtKeyEventAutoRepeatAWT extends UITestCase { static int width, height; diff --git a/src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyEventOrderAWT.java b/src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyEventOrderAWT.java index 68ccecf6b..3a95eacae 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyEventOrderAWT.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/event/TestNewtKeyEventOrderAWT.java @@ -65,7 +65,6 @@ import com.jogamp.opengl.test.junit.util.*; *
    *
  1. {@link #EVENT_KEY_PRESSED}
  2. *
  3. {@link #EVENT_KEY_RELEASED}
  4. - *
  5. {@link #EVENT_KEY_TYPED}
  6. *
*

*/ -- cgit v1.2.3