net.sourceforge.vietpad.inputmethod
Class VniIM

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

public class VniIM
extends Object
implements InputMethod

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


Constructor Summary
VniIM()
           
 
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

VniIM

public VniIM()
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.