com.sun.lwuit.impl
Interface VirtualKeyboardInterface

All Known Implementing Classes:
VirtualKeyboard

public interface VirtualKeyboardInterface

Virtual keyboards needs to implement this interface to be registered as a platform keyboard.


Method Summary
 java.lang.String getVirtualKeyboardName()
          Returns the Virtual Keyboard name.
 boolean isVirtualKeyboardShowing()
          Indicates if the Virtual Keyboard is currently showing.
 void setInputType(int inputType)
          This can be used to indicate to the VirtualKeyboard what type of input to display.
 void showKeyboard(boolean show)
          Shows or dispose the virtual keyboard
 

Method Detail

setInputType

void setInputType(int inputType)
This can be used to indicate to the VirtualKeyboard what type of input to display.

Parameters:
constraint - one of TextArea.ANY, TextArea.EMAILADDR, TextArea.NUMERIC, TextArea.PHONENUMBER, TextArea.URL, TextArea.DECIMAL it can be bitwised or'd with one of TextArea.PASSWORD, TextArea.UNEDITABLE, TextArea.SENSITIVE, TextArea.NON_PREDICTIVE, INITIAL_CAPS_SENTENCE, INITIAL_CAPS_WORD. E.g. ANY | PASSWORD.

getVirtualKeyboardName

java.lang.String getVirtualKeyboardName()
Returns the Virtual Keyboard name. This is a unique indentifier for the Virtual Keyboard implementation

Returns:
a unique id that represents this virtual keyboard.

showKeyboard

void showKeyboard(boolean show)
Shows or dispose the virtual keyboard

Parameters:
show - if true shows the virtual keyboard

isVirtualKeyboardShowing

boolean isVirtualKeyboardShowing()
Indicates if the Virtual Keyboard is currently showing.

Returns:
true if the Virtual Keyboard is currently showing