Methods Summary 

public void  beginInput(InputModeMediator mediator, java.lang.String inputSubset, int constraints)This method will be called before any input keys are passed
to this InputMode to allow the InputMode to perform any needed
initialization. A reference to the InputModeMediator which is
currently managing the relationship between this InputMode and
the input session is passed in. This reference can be used
by this InputMode to commit text input as well as end the input
session with this InputMode. The reference is only valid until
this InputMode's endInput() method is called.

public void  endInput()Mark the end of this InputMode's processing. The only possible call
to this InputMode after a call to endInput() is a call to beginInput()
to begin a new input session.

public java.lang.String  getCommandName()Returns the command name which will represent this InputMode in
the input menu

public javax.microedition.lcdui.Displayable  getDisplayable()Gets displayable for particular input method. If the input method has no
specific displayable representation returns null.

public boolean[][]  getIsConstraintsMap()Returns the map specifying this input mode is proper one for the
particular pair of input subset and constraint. The form of the map is
ANYEMAILADDRNUMERICPHONENUMBERURLDECIMAL

IS_FULLWIDTH_DIGITS tf tf  tf  tf tf tf 
IS_FULLWIDTH_LATIN tf tf  tf  tf tf tf 
IS_HALFWIDTH_KATAKANA tf tf  tf  tf tf tf 
IS_HANJA tf tf  tf  tf tf tf 
IS_KANJI tf tf  tf  tf tf tf 
IS_LATIN tf tf  tf  tf tf tf 
IS_LATIN_DIGITS tf tf  tf  tf tf tf 
IS_SIMPLIFIED_HANZI tf tf  tf  tf tf tf 
IS_TRADITIONAL_HANZI tf tf  tf  tf tf tf 
MIDP_UPPERCASE_LATIN tf tf  tf  tf tf tf 
MIDP_LOWERCASE_LATIN tf tf  tf  tf tf tf 
NULL tf tf  tf  tf tf tf 

public java.lang.String[]  getMatchList()Gets the possible string matches

public java.lang.String  getName()Returns the display name which will represent this InputMode to
the user, such as in a selection list or the softbutton bar.

public java.lang.String  getNextMatch()Return the next possible match for the key input processed thus
far by this InputMode. A call to this method should be preceeded
by a check of hasMoreMatches(). If the InputMode has more available
matches for the given input, this method will return them one by one.

public char  getPendingChar()return the pending char
used to bypass the asynchronous commit mechanism
e.g. to immediately commit a char before moving the cursor

public boolean  hasDisplayable()Returns true if input mode is using its own displayable, false ifinput
mode does not require the speial displayable for its representation

public boolean  hasMoreMatches()True, if after processing a key, there is more than one possible
match to the input. If this method returns true, the getNextMatch()
method can be called to return the value.

public int  processKey(int keyCode, boolean longPress)Process the given key code as input.
This method will return true if the key was processed successfully,
false otherwise.

public boolean  supportsConstraints(int constraints)This method is called to determine if this InputMode supports
the given text input constraints. The semantics of the constraints
value are defined in the javax.microedition.lcdui.TextField API.
If this InputMode returns false, this InputMode must not be used
to process key input for the selected text component.
