javauis/lcdui_akn/javalcdui/javasrc.nokialcdui/com/nokia/mid/ui/S60TextEditor.java
branchRCL_3
changeset 21 4376525cdefb
parent 14 04becd199f91
child 23 e5618cc85d74
--- a/javauis/lcdui_akn/javalcdui/javasrc.nokialcdui/com/nokia/mid/ui/S60TextEditor.java	Wed Jun 09 09:34:07 2010 +0300
+++ b/javauis/lcdui_akn/javalcdui/javasrc.nokialcdui/com/nokia/mid/ui/S60TextEditor.java	Mon Jun 21 15:32:50 2010 +0300
@@ -21,7 +21,7 @@
 /**
  * <P>
  * S60 platform specific extensions to <code>TextEditor</code>. These methods
- * are only available in S60 Java Runtime.
+ * are only available in Java Runtime for Symbian.
  * </P>
  *
  * <P>
@@ -61,6 +61,15 @@
  * preferred or enabled.
  * </p>
  *
+ * <h3>Touch screen virtual keyboard</h3>
+ * <p>
+ * In touch-only devices when user taps on a text editor touch screen
+ * virtual keyboard is opened. The keyboard takes part of the screen space, so
+ * canvas is smaller when virtual keyboard is visible.
+ * Application is notified about this by events, so it can react on this
+ * change and resize, move TextEditor to the visible area and adjust the
+ * whole Canvas.
+ * </p>
  * @see TextEditor
  * @since 1.4
  */
@@ -105,6 +114,16 @@
     public static final int TOUCH_INPUT_MINI_ITUT = 32;
 
     /**
+     * Indicates that the touch screen virtual keyboard is opened.
+     */
+    public static final int ACTION_VIRTUAL_KEYBOARD_OPEN = 0x1000;
+
+    /**
+     * Indicates that the touch screen virtual keyboard is closed.
+     */
+    public static final int ACTION_VIRTUAL_KEYBOARD_CLOSE = 0x2000;
+
+    /**
      * <P>
      * If the default indicator location is not used then sets the drawing
      * location for input indicators relative to the <code>TextEditor</code>'s