KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > awt > im > InputSubset


1 /*
2  * @(#)InputSubset.java 1.11 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.awt.im;
9
10
11 /**
12  * Defines additional Unicode subsets for use by input methods. Unlike the
13  * UnicodeBlock subsets defined in the <code>{@link
14  * java.lang.Character.UnicodeBlock}</code> class, these constants do not
15  * directly correspond to Unicode code blocks.
16  *
17  * @version 1.11, 12/19/03
18  * @since 1.2
19  */

20
21 public final class InputSubset extends Character.Subset JavaDoc {
22
23     private InputSubset(String JavaDoc name) {
24     super(name);
25     }
26
27     /**
28      * Constant for all Latin characters, including the characters
29      * in the BASIC_LATIN, LATIN_1_SUPPLEMENT, LATIN_EXTENDED_A,
30      * LATIN_EXTENDED_B Unicode character blocks.
31      */

32     public static final InputSubset JavaDoc LATIN
33         = new InputSubset JavaDoc("LATIN");
34
35     /**
36      * Constant for the digits included in the BASIC_LATIN Unicode character
37      * block.
38      */

39     public static final InputSubset JavaDoc LATIN_DIGITS
40         = new InputSubset JavaDoc("LATIN_DIGITS");
41
42     /**
43      * Constant for all Han characters used in writing Traditional Chinese,
44      * including a subset of the CJK unified ideographs as well as Traditional
45      * Chinese Han characters that may be defined as surrogate characters.
46      */

47     public static final InputSubset JavaDoc TRADITIONAL_HANZI
48         = new InputSubset JavaDoc("TRADITIONAL_HANZI");
49
50     /**
51      * Constant for all Han characters used in writing Simplified Chinese,
52      * including a subset of the CJK unified ideographs as well as Simplified
53      * Chinese Han characters that may be defined as surrogate characters.
54      */

55     public static final InputSubset JavaDoc SIMPLIFIED_HANZI
56         = new InputSubset JavaDoc("SIMPLIFIED_HANZI");
57
58     /**
59      * Constant for all Han characters used in writing Japanese, including a
60      * subset of the CJK unified ideographs as well as Japanese Han characters
61      * that may be defined as surrogate characters.
62      */

63     public static final InputSubset JavaDoc KANJI
64         = new InputSubset JavaDoc("KANJI");
65
66     /**
67      * Constant for all Han characters used in writing Korean, including a
68      * subset of the CJK unified ideographs as well as Korean Han characters
69      * that may be defined as surrogate characters.
70      */

71     public static final InputSubset JavaDoc HANJA
72         = new InputSubset JavaDoc("HANJA");
73
74     /**
75      * Constant for the halfwidth katakana subset of the Unicode halfwidth and
76      * fullwidth forms character block.
77      */

78     public static final InputSubset JavaDoc HALFWIDTH_KATAKANA
79         = new InputSubset JavaDoc("HALFWIDTH_KATAKANA");
80
81     /**
82      * Constant for the fullwidth ASCII variants subset of the Unicode halfwidth and
83      * fullwidth forms character block.
84      * @since 1.3
85      */

86     public static final InputSubset JavaDoc FULLWIDTH_LATIN
87         = new InputSubset JavaDoc("FULLWIDTH_LATIN");
88
89     /**
90      * Constant for the fullwidth digits included in the Unicode halfwidth and
91      * fullwidth forms character block.
92      * @since 1.3
93      */

94     public static final InputSubset JavaDoc FULLWIDTH_DIGITS
95         = new InputSubset JavaDoc("FULLWIDTH_DIGITS");
96
97 }
98
Popular Tags