src/share/classes/java/awt/Cursor.java

Print this page




 102      * The west-resize cursor type.
 103      */
 104     public static final int     W_RESIZE_CURSOR                 = 10;
 105 
 106     /**
 107      * The east-resize cursor type.
 108      */
 109     public static final int     E_RESIZE_CURSOR                 = 11;
 110 
 111     /**
 112      * The hand cursor type.
 113      */
 114     public static final int     HAND_CURSOR                     = 12;
 115 
 116     /**
 117      * The move cursor type.
 118      */
 119     public static final int     MOVE_CURSOR                     = 13;
 120 
 121     /**
 122       * @deprecated As of JDK version 1.7, the {@link #getPredefinedCursor()}
 123       * method should be used instead.
 124       */
 125     @Deprecated
 126     protected static Cursor predefined[] = new Cursor[14];
 127 
 128     /**
 129      * This field is a private replacement for 'predefined' array.
 130      */
 131     private final static Cursor[] predefinedPrivate = new Cursor[14];
 132 
 133     /* Localization names and default values */
 134     static final String[][] cursorProperties = {
 135         { "AWT.DefaultCursor", "Default Cursor" },
 136         { "AWT.CrosshairCursor", "Crosshair Cursor" },
 137         { "AWT.TextCursor", "Text Cursor" },
 138         { "AWT.WaitCursor", "Wait Cursor" },
 139         { "AWT.SWResizeCursor", "Southwest Resize Cursor" },
 140         { "AWT.SEResizeCursor", "Southeast Resize Cursor" },
 141         { "AWT.NWResizeCursor", "Northwest Resize Cursor" },
 142         { "AWT.NEResizeCursor", "Northeast Resize Cursor" },




 102      * The west-resize cursor type.
 103      */
 104     public static final int     W_RESIZE_CURSOR                 = 10;
 105 
 106     /**
 107      * The east-resize cursor type.
 108      */
 109     public static final int     E_RESIZE_CURSOR                 = 11;
 110 
 111     /**
 112      * The hand cursor type.
 113      */
 114     public static final int     HAND_CURSOR                     = 12;
 115 
 116     /**
 117      * The move cursor type.
 118      */
 119     public static final int     MOVE_CURSOR                     = 13;
 120 
 121     /**
 122       * @deprecated As of JDK version 1.7, the {@link #getPredefinedCursor(int)}
 123       * method should be used instead.
 124       */
 125     @Deprecated
 126     protected static Cursor predefined[] = new Cursor[14];
 127 
 128     /**
 129      * This field is a private replacement for 'predefined' array.
 130      */
 131     private final static Cursor[] predefinedPrivate = new Cursor[14];
 132 
 133     /* Localization names and default values */
 134     static final String[][] cursorProperties = {
 135         { "AWT.DefaultCursor", "Default Cursor" },
 136         { "AWT.CrosshairCursor", "Crosshair Cursor" },
 137         { "AWT.TextCursor", "Text Cursor" },
 138         { "AWT.WaitCursor", "Wait Cursor" },
 139         { "AWT.SWResizeCursor", "Southwest Resize Cursor" },
 140         { "AWT.SEResizeCursor", "Southeast Resize Cursor" },
 141         { "AWT.NWResizeCursor", "Northwest Resize Cursor" },
 142         { "AWT.NEResizeCursor", "Northeast Resize Cursor" },