| Package | Description | 
|---|---|
| java.awt | 
 Contains all of the classes for creating user
interfaces and for painting graphics and images. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
protected static Cursor[]  | 
Cursor.predefined
Deprecated. As of JDK version 1.7, the  
getPredefinedCursor(int)
 method should be used instead. | 
| Modifier and Type | Method and Description | 
|---|---|
Cursor  | 
Toolkit.createCustomCursor(Image cursor,
                  Point hotSpot,
                  java.lang.String name)
Creates a new custom cursor object. 
 | 
Cursor  | 
MenuComponent.AccessibleAWTMenuComponent.getCursor()
Gets the  
Cursor of this object. | 
Cursor  | 
List.AccessibleAWTList.AccessibleAWTListChild.getCursor()
Get the Cursor of this object. 
 | 
Cursor  | 
Component.getCursor()
Gets the cursor set in the component. 
 | 
Cursor  | 
Component.AccessibleAWTComponent.getCursor()
Gets the  
Cursor of this object. | 
static Cursor  | 
Cursor.getDefaultCursor()
Return the system default cursor. 
 | 
static Cursor  | 
Cursor.getPredefinedCursor(int type)
Returns a cursor object with the specified predefined type. 
 | 
static Cursor  | 
Cursor.getSystemCustomCursor(java.lang.String name)
Returns a system-specific custom cursor object matching the
 specified name. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void  | 
Window.setCursor(Cursor cursor)
Set the cursor image to a specified cursor. 
 | 
void  | 
MenuComponent.AccessibleAWTMenuComponent.setCursor(Cursor cursor)
Sets the  
Cursor of this object. | 
void  | 
List.AccessibleAWTList.AccessibleAWTListChild.setCursor(Cursor cursor)
Set the Cursor of this object. 
 | 
void  | 
Component.setCursor(Cursor cursor)
Sets the cursor image to the specified cursor. 
 | 
void  | 
Component.AccessibleAWTComponent.setCursor(Cursor cursor)
Sets the  
Cursor of this object. |