2362N/A * Copyright (c) 1996, 2007, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 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 * 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 * 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. 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 0N/A * A class to encapsulate the bitmap representation of the mouse cursor. 0N/A * @see Component#setCursor 0N/A * @author Amy Fowler 0N/A * The default cursor type (gets set if no cursor is defined). 0N/A * The crosshair cursor type. 0N/A * The text cursor type. 0N/A * The wait cursor type. 0N/A * The south-west-resize cursor type. 0N/A * The south-east-resize cursor type. 0N/A * The north-west-resize cursor type. 0N/A * The north-east-resize cursor type. 0N/A * The north-resize cursor type. 0N/A * The south-resize cursor type. 0N/A * The west-resize cursor type. 0N/A * The east-resize cursor type. 0N/A * The hand cursor type. 0N/A * The move cursor type. 1599N/A * @deprecated As of JDK version 1.7, the {@link #getPredefinedCursor(int)} 1498N/A * method should be used instead. 1498N/A * This field is a private replacement for 'predefined' array. 0N/A /* Localization names and default values */ 0N/A {
"AWT.DefaultCursor",
"Default Cursor" },
0N/A {
"AWT.CrosshairCursor",
"Crosshair Cursor" },
0N/A {
"AWT.TextCursor",
"Text Cursor" },
0N/A {
"AWT.WaitCursor",
"Wait Cursor" },
0N/A {
"AWT.SWResizeCursor",
"Southwest Resize Cursor" },
0N/A {
"AWT.SEResizeCursor",
"Southeast Resize Cursor" },
0N/A {
"AWT.NWResizeCursor",
"Northwest Resize Cursor" },
0N/A {
"AWT.NEResizeCursor",
"Northeast Resize Cursor" },
0N/A {
"AWT.NResizeCursor",
"North Resize Cursor" },
0N/A {
"AWT.SResizeCursor",
"South Resize Cursor" },
0N/A {
"AWT.WResizeCursor",
"West Resize Cursor" },
0N/A {
"AWT.EResizeCursor",
"East Resize Cursor" },
0N/A {
"AWT.HandCursor",
"Hand Cursor" },
0N/A {
"AWT.MoveCursor",
"Move Cursor" },
0N/A * The chosen cursor type initially set to 0N/A * the <code>DEFAULT_CURSOR</code>. 0N/A * The type associated with all custom cursors. 0N/A * hashtable, filesystem dir prefix, filename, and properties for custom cursors support 0N/A * JDK 1.1 serialVersionUID 0N/A /* ensure that the necessary native libraries are loaded */ 0N/A * Initialize JNI field and method IDs for fields that may be 0N/A * Hook into native data. 0N/A // anchor is null after deserialization 0N/A * The user-visible name of the cursor. 0N/A * Returns a cursor object with the specified predefined type. 0N/A * @param type the type of predefined cursor 0N/A * @return the specified predefined cursor 0N/A * @throws IllegalArgumentException if the specified cursor type is 1498N/A // fill 'predefined' array for backwards compatibility. 0N/A * Returns a system-specific custom cursor object matching the 0N/A * specified name. Cursor names are, for example: "Invalid.16x16" 0N/A * @param name a string describing the desired system-specific custom cursor 0N/A * @return the system specific custom cursor named 0N/A * @exception HeadlessException if 0N/A * <code>GraphicsEnvironment.isHeadless</code> returns true 0N/A " occurred while creating cursor " +
name);
0N/A * Return the system default cursor. 0N/A * Creates a new cursor object with the specified type. 0N/A * @param type the type of cursor 0N/A * @throws IllegalArgumentException if the specified cursor type 0N/A // Lookup localized name. 0N/A * Creates a new custom cursor object with the specified name.<p> 0N/A * Note: this constructor should only be used by AWT implementations 0N/A * as part of their support for custom cursors. Applications should 0N/A * use Toolkit.createCustomCursor(). 0N/A * @param name the user-visible name of the cursor. 0N/A * @see java.awt.Toolkit#createCustomCursor 0N/A * Returns the type for this cursor. 0N/A * Returns the name of this cursor. 0N/A * @return a localized description of this cursor. 0N/A * Returns a string representation of this cursor. 0N/A * @return a string representation of this cursor.