Uses of Class
java.awt.Cursor
-
Packages that use Cursor Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. -
-
Uses of Cursor in java.awt
Fields in java.awt declared as Cursor Modifier and Type Field and Description protected static Cursor[]
Cursor. predefined
Deprecated. As of JDK version 1.7, thegetPredefinedCursor(int)
method should be used instead.Methods in java.awt that return Cursor 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 theCursor
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 theCursor
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.Methods in java.awt with parameters of type Cursor 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 theCursor
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 theCursor
of this object.
-