Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
CodePointIM.jar | 2009-01-17 10:32 | 7.6K | ||
src/ | 2009-11-05 12:11 | - | ||
The Code Point Input Method is a simple input method that allows Unicode characters to be entered using their code point or code unit values.
The input method accepts three different notations, all using hexadecimal
digits from the set [0-9a-fA-F]:
While in composition mode, the user can use the left arrow, right arrow, backspace, and delete keys to edit the sequence. The "\u" or "\U" characters can only be deleted if they are not followed by hexadecimal digits in the composition sequence. Deleting the initial "\u" or "\U" returns the input method to pass-through mode.
Since the initial "\" character starts composition mode, a user must type two "\" characters in order to add a single "\" to the text. When an initial "\" has been entered, but the next character is not "u", "U", or "\", both the "\" and the subsequent character are committed, and the input method returns to pass-through mode. Also, typing a new line, or tab character at any time during composition immediately commits the current composed text.
Input methods are extensions to the Java Runtime Environment; they cannot be run as applications. Before you can use an input method, you have to install it in the JRE, run an application that supports input methods (such as the JFC demos Notepad and Stylepad), and select the input method. You can learn more about these steps from the article "Using Input Methods on the Java Platform" and more about supplementary character support from the article "Supplementary Characters in the Java Platform".
This input method requires JRE 5.0 or higher.