InputSubset (Java Platform SE 8 ) (original) (raw)
- java.lang.Character.Subset
- java.awt.im.InputSubset
public final class InputSubset
extends Character.Subset
Defines additional Unicode subsets for use by input methods. Unlike the UnicodeBlock subsets defined in the [Character.UnicodeBlock](../../../java/lang/Character.UnicodeBlock.html "class in java.lang")
class, these constants do not directly correspond to Unicode code blocks.
Since:
1.2
Field Summary
Fields
Modifier and Type Field Description static InputSubset FULLWIDTH_DIGITS Constant for the fullwidth digits included in the Unicode halfwidth and fullwidth forms character block. static InputSubset FULLWIDTH_LATIN Constant for the fullwidth ASCII variants subset of the Unicode halfwidth and fullwidth forms character block. static InputSubset HALFWIDTH_KATAKANA Constant for the halfwidth katakana subset of the Unicode halfwidth and fullwidth forms character block. static InputSubset HANJA Constant for all Han characters used in writing Korean, including a subset of the CJK unified ideographs as well as Korean Han characters that may be defined as surrogate characters. static InputSubset KANJI Constant for all Han characters used in writing Japanese, including a subset of the CJK unified ideographs as well as Japanese Han characters that may be defined as surrogate characters. static InputSubset LATIN Constant for all Latin characters, including the characters in the BASIC_LATIN, LATIN_1_SUPPLEMENT, LATIN_EXTENDED_A, LATIN_EXTENDED_B Unicode character blocks. static InputSubset LATIN_DIGITS Constant for the digits included in the BASIC_LATIN Unicode character block. static InputSubset SIMPLIFIED_HANZI Constant for all Han characters used in writing Simplified Chinese, including a subset of the CJK unified ideographs as well as Simplified Chinese Han characters that may be defined as surrogate characters. static InputSubset TRADITIONAL_HANZI Constant for all Han characters used in writing Traditional Chinese, including a subset of the CJK unified ideographs as well as Traditional Chinese Han characters that may be defined as surrogate characters. Method Summary
* ### Methods inherited from class java.lang.[Character.Subset](../../../java/lang/Character.Subset.html "class in java.lang") `[equals](../../../java/lang/Character.Subset.html#equals-java.lang.Object-), [hashCode](../../../java/lang/Character.Subset.html#hashCode--), [toString](../../../java/lang/Character.Subset.html#toString--)` * ### Methods inherited from class java.lang.[Object](../../../java/lang/Object.html "class in java.lang") `[clone](../../../java/lang/Object.html#clone--), [finalize](../../../java/lang/Object.html#finalize--), [getClass](../../../java/lang/Object.html#getClass--), [notify](../../../java/lang/Object.html#notify--), [notifyAll](../../../java/lang/Object.html#notifyAll--), [wait](../../../java/lang/Object.html#wait--), [wait](../../../java/lang/Object.html#wait-long-), [wait](../../../java/lang/Object.html#wait-long-int-)`
Field Detail
* #### LATIN public static final [InputSubset](../../../java/awt/im/InputSubset.html "class in java.awt.im") LATIN Constant for all Latin characters, including the characters in the BASIC\_LATIN, LATIN\_1\_SUPPLEMENT, LATIN\_EXTENDED\_A, LATIN\_EXTENDED\_B Unicode character blocks. * #### LATIN\_DIGITS public static final [InputSubset](../../../java/awt/im/InputSubset.html "class in java.awt.im") LATIN_DIGITS Constant for the digits included in the BASIC\_LATIN Unicode character block. * #### TRADITIONAL\_HANZI public static final [InputSubset](../../../java/awt/im/InputSubset.html "class in java.awt.im") TRADITIONAL_HANZI Constant for all Han characters used in writing Traditional Chinese, including a subset of the CJK unified ideographs as well as Traditional Chinese Han characters that may be defined as surrogate characters. * #### SIMPLIFIED\_HANZI public static final [InputSubset](../../../java/awt/im/InputSubset.html "class in java.awt.im") SIMPLIFIED_HANZI Constant for all Han characters used in writing Simplified Chinese, including a subset of the CJK unified ideographs as well as Simplified Chinese Han characters that may be defined as surrogate characters. * #### KANJI public static final [InputSubset](../../../java/awt/im/InputSubset.html "class in java.awt.im") KANJI Constant for all Han characters used in writing Japanese, including a subset of the CJK unified ideographs as well as Japanese Han characters that may be defined as surrogate characters. * #### HANJA public static final [InputSubset](../../../java/awt/im/InputSubset.html "class in java.awt.im") HANJA Constant for all Han characters used in writing Korean, including a subset of the CJK unified ideographs as well as Korean Han characters that may be defined as surrogate characters. * #### HALFWIDTH\_KATAKANA public static final [InputSubset](../../../java/awt/im/InputSubset.html "class in java.awt.im") HALFWIDTH_KATAKANA Constant for the halfwidth katakana subset of the Unicode halfwidth and fullwidth forms character block. * #### FULLWIDTH\_LATIN public static final [InputSubset](../../../java/awt/im/InputSubset.html "class in java.awt.im") FULLWIDTH_LATIN Constant for the fullwidth ASCII variants subset of the Unicode halfwidth and fullwidth forms character block. Since: 1.3 * #### FULLWIDTH\_DIGITS public static final [InputSubset](../../../java/awt/im/InputSubset.html "class in java.awt.im") FULLWIDTH_DIGITS Constant for the fullwidth digits included in the Unicode halfwidth and fullwidth forms character block. Since: 1.3
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.