com.ibm.richtext.textpanel
Class KeyRemap

java.lang.Object
  |
  +--com.ibm.richtext.textpanel.KeyRemap

public class KeyRemap
extends java.lang.Object

KeyRemap maps keys on a standard US keyboard to characters in other alphabets. Currently, mappings to Arabic, Hebrew and Thai are supported. In the future, clients may be to define their own mappings by subclassing this class.

See Also:
TextPanel.setKeyRemap(com.ibm.richtext.textpanel.KeyRemap)

Constructor Summary
protected KeyRemap()
          Create a new KeyRemap.
 
Method Summary
static KeyRemap getArabicTransliteration()
          Return a KeyRemap which maps keys to characters in the Arabic alphabet, using a simple transliteration.
static KeyRemap getHebrewTransliteration()
          Return a KeyRemap which maps keys to characters in the Hebrew alphabet, using a simple transliteration.
static KeyRemap getIdentityRemap()
          Return a KeyRemap which maps every character to itself.
static KeyRemap getIsraelNikud()
          Return a KeyRemap which emulates a standard Hebrew keyboard.
static KeyRemap getThaiKetmanee()
          Return a KeyRemap which emulates a Thai Ketmanee keyboard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyRemap

protected KeyRemap()
Create a new KeyRemap.
Method Detail

getIdentityRemap

public static KeyRemap getIdentityRemap()
Return a KeyRemap which maps every character to itself.

getArabicTransliteration

public static KeyRemap getArabicTransliteration()
Return a KeyRemap which maps keys to characters in the Arabic alphabet, using a simple transliteration.

getHebrewTransliteration

public static KeyRemap getHebrewTransliteration()
Return a KeyRemap which maps keys to characters in the Hebrew alphabet, using a simple transliteration.

getIsraelNikud

public static KeyRemap getIsraelNikud()
Return a KeyRemap which emulates a standard Hebrew keyboard.

getThaiKetmanee

public static KeyRemap getThaiKetmanee()
Return a KeyRemap which emulates a Thai Ketmanee keyboard.


Copyright (c) 2001 IBM Corporation and others.