0N/A/*
2362N/A * Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/Apackage java.awt.im;
0N/A
0N/A
0N/A/**
0N/A * Defines additional Unicode subsets for use by input methods. Unlike the
0N/A * UnicodeBlock subsets defined in the <code>{@link
0N/A * java.lang.Character.UnicodeBlock}</code> class, these constants do not
0N/A * directly correspond to Unicode code blocks.
0N/A *
0N/A * @since 1.2
0N/A */
0N/A
0N/Apublic final class InputSubset extends Character.Subset {
0N/A
0N/A private InputSubset(String name) {
0N/A super(name);
0N/A }
0N/A
0N/A /**
0N/A * Constant for all Latin characters, including the characters
0N/A * in the BASIC_LATIN, LATIN_1_SUPPLEMENT, LATIN_EXTENDED_A,
0N/A * LATIN_EXTENDED_B Unicode character blocks.
0N/A */
0N/A public static final InputSubset LATIN
0N/A = new InputSubset("LATIN");
0N/A
0N/A /**
0N/A * Constant for the digits included in the BASIC_LATIN Unicode character
0N/A * block.
0N/A */
0N/A public static final InputSubset LATIN_DIGITS
0N/A = new InputSubset("LATIN_DIGITS");
0N/A
0N/A /**
0N/A * Constant for all Han characters used in writing Traditional Chinese,
0N/A * including a subset of the CJK unified ideographs as well as Traditional
0N/A * Chinese Han characters that may be defined as surrogate characters.
0N/A */
0N/A public static final InputSubset TRADITIONAL_HANZI
0N/A = new InputSubset("TRADITIONAL_HANZI");
0N/A
0N/A /**
0N/A * Constant for all Han characters used in writing Simplified Chinese,
0N/A * including a subset of the CJK unified ideographs as well as Simplified
0N/A * Chinese Han characters that may be defined as surrogate characters.
0N/A */
0N/A public static final InputSubset SIMPLIFIED_HANZI
0N/A = new InputSubset("SIMPLIFIED_HANZI");
0N/A
0N/A /**
0N/A * Constant for all Han characters used in writing Japanese, including a
0N/A * subset of the CJK unified ideographs as well as Japanese Han characters
0N/A * that may be defined as surrogate characters.
0N/A */
0N/A public static final InputSubset KANJI
0N/A = new InputSubset("KANJI");
0N/A
0N/A /**
0N/A * Constant for all Han characters used in writing Korean, including a
0N/A * subset of the CJK unified ideographs as well as Korean Han characters
0N/A * that may be defined as surrogate characters.
0N/A */
0N/A public static final InputSubset HANJA
0N/A = new InputSubset("HANJA");
0N/A
0N/A /**
0N/A * Constant for the halfwidth katakana subset of the Unicode halfwidth and
0N/A * fullwidth forms character block.
0N/A */
0N/A public static final InputSubset HALFWIDTH_KATAKANA
0N/A = new InputSubset("HALFWIDTH_KATAKANA");
0N/A
0N/A /**
0N/A * Constant for the fullwidth ASCII variants subset of the Unicode halfwidth and
0N/A * fullwidth forms character block.
0N/A * @since 1.3
0N/A */
0N/A public static final InputSubset FULLWIDTH_LATIN
0N/A = new InputSubset("FULLWIDTH_LATIN");
0N/A
0N/A /**
0N/A * Constant for the fullwidth digits included in the Unicode halfwidth and
0N/A * fullwidth forms character block.
0N/A * @since 1.3
0N/A */
0N/A public static final InputSubset FULLWIDTH_DIGITS
0N/A = new InputSubset("FULLWIDTH_DIGITS");
0N/A
0N/A}