| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nokia.mid.ui.VirtualKeyboard
public class VirtualKeyboard
Full touch devices can use a virtual keyboard as a replacement for the physical keyboard and thus allow 
 textual input.
 
 VirtualKeyboard is an interface that provides access and control over the virtual keyboard.
 Because the virtual keyboard control panel covers parts of the display which would otherwise be available to 
 the application, MIDlets may choose to only display the panel at certain times, e.g. when the MIDlet requires
 textual input from the user, this is made possible with * CustomKeyboardControl.launch().
 
 The platform supports a number of different virtual keyboards, these are:
     VirtualKeyboard#ITUT
     VirtualKeyboard#GAME
 
 The input mode of the keyboard can be set, options are:
      VirtualKeyboard#DEFAULT
      VirtualKeyboard#NUMERIC
      VirtualKeyboard#ALPHA_LOWER_CASE
      VirtualKeyboard#ALPHA_UPPER_CASE
      VirtualKeyboard#ALPHA_UPPER_CASE_LOCKED
| Field Summary | |
|---|---|
| static int | CUSTOM_KEYBOARDKeyboard Type: CUSTOM. | 
| static int | SYSTEM_KEYBOARDKeyboard Type: SYSTEM. | 
| static int | VKB_MODE_ALPHA_LOWER_CASEInput Mode: ALPHA_LOWER_CASE - User can enter only lower case alphabetic characters. | 
| static int | VKB_MODE_ALPHA_UPPER_CASEInput Mode: ALPHA_UPPER_CASE - User can enter only upper case alphabetic characters. | 
| static int | VKB_MODE_ALPHA_UPPER_CASE_LOCKEDInput Mode: ALPHA_UPPER_CASE_LOCKED - User can enter only upper case alphabetic characters. | 
| static int | VKB_MODE_DEFAULTInput Mode: DEFAULT. | 
| static int | VKB_MODE_NUMERICInput Mode: NUMERIC - User can enter only integer values. | 
| static int | VKB_TYPE_GAMEKeyboard Type: GAME. | 
| static int | VKB_TYPE_ITUTKeyboard Type: ITUT. | 
| Method Summary | |
|---|---|
| static CustomKeyboardControl | getCustomKeyboardControl()Gets singleton instance of CustomKeyboardControl Custom keyboard control is used for controlling custom virtual keyboard in touch devices that can be used when physical keypad is not available. | 
| static int | getHeight()Gets the height of this VirtualKeyboard. | 
| static int | getWidth()Gets the width of this VirtualKeyboard. | 
| static int | getXPosition()Gets the x rendering position of this VirtualKeyboard. | 
| static int | getYPosition()Gets the y rendering position of this VirtualKeyboard. | 
| static void | hideOpenKeypadCommand(boolean hide)Called by the MIDlet to disables/enables the state of the default platform open keypad command in Canvas and/or CustomItem menus. | 
| static boolean | isVisible()Query the visibility value of VirtualKeyboard. | 
| static void | setVisibilityListener(KeyboardVisibilityListener listener)set the VisibilityListener | 
| static void | suppressSizeChanged(boolean suppress)Suppress sizeChanged events when visibility changes | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int CUSTOM_KEYBOARD
public static final int SYSTEM_KEYBOARD
public static final int VKB_TYPE_ITUT
public static final int VKB_TYPE_GAME
public static final int VKB_MODE_DEFAULT
public static final int VKB_MODE_NUMERIC
public static final int VKB_MODE_ALPHA_LOWER_CASE
public static final int VKB_MODE_ALPHA_UPPER_CASE
public static final int VKB_MODE_ALPHA_UPPER_CASE_LOCKED
| Method Detail | 
|---|
public static CustomKeyboardControl getCustomKeyboardControl()
public static void hideOpenKeypadCommand(boolean hide)
hide - the new visibility state of the open keypad command: true if MIDlet
        needs this command to be hidden/removed from the menu or false otherwise.public static boolean isVisible()
VirtualKeyboard.
public static int getXPosition()
VirtualKeyboard.
java.lang.IllegalStateException - if no VirtualKeyboard has been created.public static int getYPosition()
VirtualKeyboard.
java.lang.IllegalStateException - if no VirtualKeyboard has been created.public static int getWidth()
VirtualKeyboard.
java.lang.IllegalStateException - if no VirtualKeyboard has been created.public static int getHeight()
VirtualKeyboard.
java.lang.IllegalStateException - if no VirtualKeyboard has been created.public static void setVisibilityListener(KeyboardVisibilityListener listener)
public static void suppressSizeChanged(boolean suppress)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||