11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package java.awt.im; 27 28 29 /** 30 * Defines additional Unicode subsets for use by input methods. Unlike the 31 * UnicodeBlock subsets defined in the <code>{@link 32 * java.lang.Character.UnicodeBlock}</code> class, these constants do not 33 * directly correspond to Unicode code blocks. 34 * 35 * @since 1.2 36 */ 37 38 public final class InputSubset extends Character.Subset { 39 40 private InputSubset(String name) { 41 super(name); 42 } 43 44 /** 45 * Constant for all Latin characters, including the characters 46 * in the BASIC_LATIN, LATIN_1_SUPPLEMENT, LATIN_EXTENDED_A, 47 * LATIN_EXTENDED_B Unicode character blocks. 48 */ 49 public static final InputSubset LATIN 50 = new InputSubset("LATIN"); 51 52 /** | 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 package java.awt.im; 27 28 29 /** 30 * Defines additional Unicode subsets for use by input methods. Unlike the 31 * UnicodeBlock subsets defined in the {@link 32 * java.lang.Character.UnicodeBlock} class, these constants do not 33 * directly correspond to Unicode code blocks. 34 * 35 * @since 1.2 36 */ 37 38 public final class InputSubset extends Character.Subset { 39 40 private InputSubset(String name) { 41 super(name); 42 } 43 44 /** 45 * Constant for all Latin characters, including the characters 46 * in the BASIC_LATIN, LATIN_1_SUPPLEMENT, LATIN_EXTENDED_A, 47 * LATIN_EXTENDED_B Unicode character blocks. 48 */ 49 public static final InputSubset LATIN 50 = new InputSubset("LATIN"); 51 52 /** |