The Cursor class represents the mouse pointer. It encapsulates information that used to be in java.awt.Frame in the 1.0.2 release.
public class java.awt.Cursor extends java.lang.Object implements java.io.Serializable { // Constants public final static int CROSSHAIR_CURSOR; public final static int DEFAULT_CURSOR; public final static int E_RESIZE_CURSOR; public final static int HAND_CURSOR; public final static int MOVE_CURSOR; public final static int N_RESIZE_CURSOR; public final static int NE_RESIZE_CURSOR; public final static int NW_RESIZE_CURSOR; public final static int S_RESIZE_CURSOR; public final static int SE_RESIZE_CURSOR; public final static int SW_RESIZE_CURSOR; public final static int TEXT_CURSOR; public final static int W_RESIZE_CURSOR; public final static int WAIT_CURSOR; // Class Variables protected static Cursor[] predefined; // Class Methods public static Cursor getDefaultCursor(); public static Cursor getPredefinedCursor (int type); // Constructors public Cursor (int type); // Instance Methods public int getType(); }
Constant representing a cursor that looks like a crosshair.
Constant representing the platform's default cursor.
Constant representing the cursor for resizing an object on the left.
Constant representing a cursor that looks like a hand.
Constant representing a cursor used to move an object.
Constant representing a cursor for resizing an object on the top.
Constant representing a cursor for resizing an object on the top left corner.
Constant representing a cursor for resizing an object on the top right corner.
Constant representing a cursor for resizing an object on the bottom.
Constant representing a cursor for resizing an object on the bottom left corner.
Constant representing a cursor for resizing an object on the bottom right corner.
Constant representing a cursor used within text.
Constant representing a cursor for resizing an object on the right side.
Constant representing a cursor that indicates the program is busy.
An array of cursor instances corresponding to the predefined cursor types.
The default system cursor.
One of the type constants defined in this class.
A Cursor object with the specified type.
One of the type constants defined in this class.
Constructs a Cursor object with the specified type.
The type of cursor.
Frame
This HTML Help has been published using the chm2web software. |