NameDateSize

..12-Dec-201711

CodePointIM.javaH A D12-Dec-20172.6 KiB

com/H12-Dec-20173

java.awt.im.spi.InputMethodDescriptorH A D12-Dec-201773

README.htmlH A D12-Dec-20173.2 KiB

README_ja.htmlH A D12-Dec-20174.4 KiB

README_zh_CN.htmlH A D12-Dec-20173 KiB

resources/H12-Dec-20175

README.html

1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4  <title>README - CodePointIM</title>
5  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
6</head>
7<body>
8<h1>Code Point Input Method</h1>
9<p>
10The Code Point Input Method is a simple input method that allows Unicode
11characters to be entered using their code point or code unit values.
12<p>
13The input method accepts three different notations, all using hexadecimal
14digits from the set [0-9a-fA-F]:
15<br>
16<ul>
17  <li>"\uxxxx": The standard Unicode escape notation of the Java programming
18language. This notation allows input of code points up to U+FFFE; the illegal
19code point U+FFFF is not allowed.</li>
20  <li>"\Uxxxxxx": An extended Unicode escape notation specific to this input
21method. This notation allows direct input of any Unicode code Point except the
22illegal code point U+FFFF. The uppercase "U" indicates that six hexadecimal
23digits follow. "xxxxxx" must be between 000000 and 10FFFF.</li>
24  <li>"\uxxxx\uyyyy": Two consecutive standard Unicode escapes, together
25representing a code point between U+10000 and U+10FFFF (a supplementary
26character). "xxxx" must be between D800 and DBFF (that is, a high surrogate
27value), "yyyy" between DC00 and DFFF (a low surrogate value).</li>
28</ul>
29In general, the input method passes characters through unchanged. However,
30when the user types a "\", the input method enters composition mode. In
31composition mode, the user types the desired code point using one of the
32notations above, then types a space character to convert to the corresponding
33Unicode character and commit. The input method then returns to pass-through
34mode until another "\" character is entered.
35<p>
36While in composition mode, the user can use the left arrow, right arrow,
37backspace, and delete keys to edit the sequence. The "\u" or "\U" characters
38can only be deleted if they are not followed by hexadecimal digits in the
39composition sequence. Deleting the initial "\u" or "\U" returns the input
40method to pass-through mode.
41<p>
42Since the initial "\" character starts composition mode, a user must type two
43"\" characters in order to add a single "\" to the text. When an initial "\"
44has been entered, but the next character is not "u", "U", or "\", both the "\"
45and the subsequent character are committed, and the input method returns to
46pass-through mode. Also, typing a new line, or tab character at any time
47during composition immediately commits the current composed text.
48<p>
49Input methods are extensions to the Java Runtime Environment; they cannot be
50run as applications. Before you can use an input method, you have to install
51it in the JRE, run an application that supports input methods (such as the
52JFC demos Notepad and Stylepad), and select the input method. You can learn
53more about these steps from the article
54"<a href="http://javadesktop.org/articles/InputMethod/index.html">Using Input Methods on the Java Platform</a>"
55and more about supplementary character support from the article
56"<a href="http://java.sun.com/developer/technicalArticles/Intl/Supplementary/index.html">Supplementary Characters in the Java Platform</a>".
57<p>
58This input method requires JRE 5.0 or higher.
59<br>
60</body>
61</html>
62

README_ja.html

1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4  <meta content="text/html; charset=UTF-8" http-equiv="content-type">
5  <title>README - CodePointIM</title>
6</head>
7<body>
8<h1>Code Point Input Method</h1>
9<p>
10Code Point Input Method���������������������������������������������������������������Unicode������������������������������������������������������������������������
11<p>
12���������������������������������������������������������0���9���a���f���A���F���������������������������������������������������������������
13<br>
14<ul>
15  <li>"\uxxxx"���Java������������������������������������Unicode������������������������������������������������������U+0000������U+FFFE���������������������������������������������������������������������������������������������U+FFFF���������������������������</li>
16  <li>"\Uxxxxxx"���������������������������������������������������Unicode���������������������������������������������������������������������������Unicode���������������������������������������������������������������'U'������������������������������������������������������������������������"xxxxxx"������������������������000000������10FFFF���������������������������������������������������������������U+FFFF(00FFFF)���������������������������</li>
17  <li>"\uxxxx\uyyyy"������������������������������Unicode������������������������������������������������U+10000������U+10FFFF������������������������������������������������������������(supplementary character)������������������"xxxx"���D800������DBFF���������������������������������������"yyyy"���DC00������DFFF������������������������������������������������������������������������������</li>
18</ul>
19���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������'\'������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Space���������������������������������������������������������������������Unicode���������������������������������������������������������������������������������������������������������������������������������������'\'��������������������������������������������������������������������������������������������������������� 
20<p>
21������������������������������������������������������Backspace���Delete���������������������������������������������������������������������������������������������������"\u"���������"\U"���������������������������������������������������������������������������������������������������"\u"���������"\U"������������������������������������������������������������������������������������������������ 
22<p>
23���������'\'���������������������������������������������������������������������������'\'���������������������������������������������������������������������������������������������������'\'������������������������������������'u'���'U'���'\'���������������������������������'\'���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Tab���������Enter������������������������������������������������������������������������������������������������������������������������������������������������������ 
24<p>
25������������������������������Java Runtime Environment���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������JRE���������������������������������������������������������������������������������������������������������������������������������������JFC���������Notepad���Stylepad������������������������������������������������������������������������������������������������������������"<a href="http://javadesktop.org/articles/InputMethod/index.html">Using Input Methods on the Java Platform</a>"������������������������������������������������������������������������������������"<a href="http://java.sun.com/developer/technicalArticles/Intl/Supplementary/index_ja.html">Java���������������������������������������������������������������</a>"��������������������������� 
26<p>
27���������������������������������������������������������������JRE 5.0������������������������
28</body>
29</html>
30

README_zh_CN.html

1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4  <title>自述文件——代码点输入法</title>
5  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
6</head>
7<body>
8<h1>代码点输入法</h1>
9<p>
10代码点输入法是一种简单的输入法,使您可以使用 Unicode 字符的代码点或代码单元值来输入 Unicode 字符。
11</p>
12<p>该输入法接受三种不同的表示法,这三种方法都使用来自字符集 [0-9a-fA-F] 的十六进制数字: <br>
13</p>
14<ul>
15  <li>"\uxxxx":Java 编程语言的标准 Unicode 换码表示法。此表示法允许输入不超过 U+FFFE
16的代码点;不允许输入非法代码点 U+FFFF。</li>
17  <li>"\Uxxxxxx":此输入法专用的扩展 Unicode 换码表示法。此表示法允许直接输入任何 Unicode
18代码点,但非法代码点 U+FFFF 除外。大写 "U" 表示后跟六个十六进制数字。"xxxxxx" 必须在 000000 和 10FFFF
19之间。</li>
20  <li>"\uxxxx\uyyyy":两个连续的标准 Unicode 换码,共同表示 U+10000 和 U+10FFFF
21之间的一个代码点(增补字符)。"xxxx" 必须在 D800 和 DBFF 之间(即高代码值),"yyyy" 必须在 DC00 和 DFFF
22之间(低代码值)。</li>
23</ul>
24一般情况下,输入法仅传递字符而不进行更改。但是,当用户键入 "\"
25时,输入法将进入编写模式。在编写模式下,用户使用上述表示法之一键入所需代码点,然后键入空格字符以转换至相应的 Unicode
26字符并提交。然后输入法将返回到传递模式,直到用户输入另一个 "\" 字符。
27<p>处于编写模式时,用户可以使用左箭头键、右箭头键、Back Space 键和 Delete 键来编辑序列。在编写序列中,只有当 "\u" 或
28"\U" 字符后面未跟有十六进制数字时,才可以将 "\u" 或 "\U" 删除。删除初始的 "\u" 或 "\U" 将使输入法返回至传递模式。
29</p>
30<p>由于初始的 "\" 字符用于启动编写模式,因此为了向文本中添加一个 "\",用户必须键入两个 "\" 字符。如果已输入初始
31"\",但下一个字符不是 "u"、"U" 或 "\",则 "\"
32和随后一个字符将被提交,并且输入法将返回至传递模式。另外,在编写期间的任何时候键入一个新行或制表符都将立即提交当前编写的文本。
33</p>
34<p>输入法是 Java 运行环境的扩展;它们不能作为应用程序运行。要使用某个输入法,您必须将其安装在 JRE
35中,运行支持输入法的应用程序(例如 JFC 演示版 Notepad 和 Stylepad),并选择该输入法。您可以从“<a
36 href="http://javadesktop.org/articles/InputMethod/index.html">在 Java
37平台上使用输入法</a>”中了解有关这些步骤的更多信息,还可以从“<a
38 href="http://java.sun.com/developer/technicalArticles/Intl/Supplementary/index.html">Java
39平台中的增补字符</a>”中了解有关增补字符支持的更多信息。
40</p>
41<p>该输入法要求 JRE 5.0 或更高版本。 <br>
42</p>
43</body>
44</html>
45