net.sourceforge.vietpad.inputmethod
Class ViqrIM

java.lang.Object
  extended by net.sourceforge.vietpad.inputmethod.ViqrIM
All Implemented Interfaces:
InputMethod

public class ViqrIM
extends Object
implements InputMethod

VIQR input method, as specified in Common Vietnamese Input Methods.


Constructor Summary
ViqrIM()
           
 
Method Summary
 char getAccentMark(char keyChar, char curChar, String curWord)
          Determines the diacritical mark associated with the typed key based on the current word context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViqrIM

public ViqrIM()
Method Detail

getAccentMark

public char getAccentMark(char keyChar,
                          char curChar,
                          String curWord)
Description copied from interface: InputMethod
Determines the diacritical mark associated with the typed key based on the current word context.

Specified by:
getAccentMark in interface InputMethod
Parameters:
keyChar - the typed key
curChar - the character at current caret position
curWord - the word at current caret position
Returns:
the diacritical mark in numerical VNI convention, or null character for noncombining key


Copyright © 2002 VietUnicode. All Rights Reserved.