Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.Cursor

Availability: JDK 1.1

public class Cursor extends Object implements Serializable {
   // Public Constructor
      public Cursor(int type);
   // Constants
      public static final int CROSSHAIR_CURSOR;
      public static final int DEFAULT_CURSOR;
      public static final int E_RESIZE_CURSOR;
      public static final int HAND_CURSOR;
      public static final int MOVE_CURSOR;
      public static final int NE_RESIZE_CURSOR;
      public static final int NW_RESIZE_CURSOR;
      public static final int N_RESIZE_CURSOR;
      public static final int SE_RESIZE_CURSOR;
      public static final int SW_RESIZE_CURSOR;
      public static final int S_RESIZE_CURSOR;
      public static final int TEXT_CURSOR;
      public static final int WAIT_CURSOR;
      public static final int W_RESIZE_CURSOR;
   // Class Variables
      protected static Cursor[] predefined;
   // Class Methods
      public static Cursor getDefaultCursor();
      public static Cursor getPredefinedCursor(int type);
   // Public Instance Methods
      public int getType();
}
Passed To:
Component.setCursor(), ComponentPeer.setCursor().
Returned By:
Component.getCursor(), Cursor.getDefaultCursor(), Cursor.getPredefinedCursor().
Type Of:
Cursor.predefined.

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.