Class IndicInputMethodImpl

java.lang.Object
com.ibm.icu.dev.tool.ime.indic.IndicInputMethodImpl

class IndicInputMethodImpl extends Object
  • Field Details

    • KBD_MAP

      protected char[] KBD_MAP
    • SUBSTITUTION_BASE

      private static final char SUBSTITUTION_BASE
      See Also:
    • SUBSTITUTION_TABLE

      protected char[][] SUBSTITUTION_TABLE
    • INVALID_CHAR

      private static final char INVALID_CHAR
      See Also:
    • KEY_SIGN_VIRAMA

      private static final char KEY_SIGN_VIRAMA
      See Also:
    • KEY_SIGN_NUKTA

      private static final char KEY_SIGN_NUKTA
      See Also:
    • ZWJ

      private static final char ZWJ
      See Also:
    • ZWNJ

      private static final char ZWNJ
      See Also:
    • BACKSPACE

      private static final char BACKSPACE
      See Also:
    • JOIN_WITH_NUKTA

      protected char[] JOIN_WITH_NUKTA
    • NUKTA_FORM

      protected char[] NUKTA_FORM
    • power

      private int power
    • extra

      private int extra
    • ZERO_TRAILING_HIT_INFO

      private static final TextHitInfo ZERO_TRAILING_HIT_INFO
    • text

      private char[] text
    • committedChars

      private int committedChars
    • totalChars

      private int totalChars
    • lastCharWasVirama

      private boolean lastCharWasVirama
    • context

      private InputMethodContext context
  • Constructor Details

    • IndicInputMethodImpl

      IndicInputMethodImpl(char[] keyboardMap, char[] joinWithNukta, char[] nuktaForm, char[][] substitutionTable)
  • Method Details

    • nuktaIndex

      private int nuktaIndex(char ch)
      Returns the index of the given character in the JOIN_WITH_NUKTA array. If character is not found, -1 is returned.
    • getMappedChar

      private char getMappedChar(char originalChar)
      Returns the equivalent character for hindi locale.
      Parameters:
      originalChar - The original character.
    • highBit

      private static byte highBit(int n)
    • setInputMethodContext

      void setInputMethodContext(InputMethodContext context)
    • handleKeyTyped

      void handleKeyTyped(KeyEvent kevent)
    • endComposition

      void endComposition()