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. predefinedDeprecated. 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 CursorToolkit. createCustomCursor(Image cursor, Point hotSpot, java.lang.String name)Creates a new custom cursor object.CursorMenuComponent.AccessibleAWTMenuComponent. getCursor()Gets theCursorof this object.CursorList.AccessibleAWTList.AccessibleAWTListChild. getCursor()Get the Cursor of this object.CursorComponent. getCursor()Gets the cursor set in the component.CursorComponent.AccessibleAWTComponent. getCursor()Gets theCursorof this object.static CursorCursor. getDefaultCursor()Return the system default cursor.static CursorCursor. getPredefinedCursor(int type)Returns a cursor object with the specified predefined type.static CursorCursor. 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 voidWindow. setCursor(Cursor cursor)Set the cursor image to a specified cursor.voidMenuComponent.AccessibleAWTMenuComponent. setCursor(Cursor cursor)Sets theCursorof this object.voidList.AccessibleAWTList.AccessibleAWTListChild. setCursor(Cursor cursor)Set the Cursor of this object.voidComponent. setCursor(Cursor cursor)Sets the cursor image to the specified cursor.voidComponent.AccessibleAWTComponent. setCursor(Cursor cursor)Sets theCursorof this object.
-
