net.sourceforge.vietpad.inputmethod
Interface InputMethod

All Known Implementing Classes:
TelexIM, ViqrIM, VniIM

public interface InputMethod

Interface for Vietnamese input methods.


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.
 

Method Detail

getAccentMark

char getAccentMark(char keyChar,
                   char curChar,
                   String curWord)
Determines the diacritical mark associated with the typed key based on the current word context.

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.