Java java.awt Cursor fields, constructors, methods, implement or subclass

Example usage for Java java.awt Cursor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt Cursor.

The text is from its open source code.

Field

intDEFAULT_CURSOR
The default cursor type (gets set if no cursor is defined).
intCROSSHAIR_CURSOR
The crosshair cursor type.
intTEXT_CURSOR
The text cursor type.
intWAIT_CURSOR
The wait cursor type.
intSW_RESIZE_CURSOR
The south-west-resize cursor type.
intSE_RESIZE_CURSOR
The south-east-resize cursor type.
intNW_RESIZE_CURSOR
The north-west-resize cursor type.
intNE_RESIZE_CURSOR
The north-east-resize cursor type.
intN_RESIZE_CURSOR
The north-resize cursor type.
intS_RESIZE_CURSOR
The south-resize cursor type.
intW_RESIZE_CURSOR
The west-resize cursor type.
intE_RESIZE_CURSOR
The east-resize cursor type.
intHAND_CURSOR
The hand cursor type.
intMOVE_CURSOR
The move cursor type.
intCUSTOM_CURSOR
The type associated with all custom cursors.

Constructor

Cursor(int type)
Creates a new cursor object with the specified type.
Cursor(String name)
Creates a new custom cursor object with the specified name.

Note: this constructor should only be used by AWT implementations as part of their support for custom cursors.

Method

CursorgetDefaultCursor()
Return the system default cursor.
CursorgetPredefinedCursor(int type)
Returns a cursor object with the specified predefined type.
CursorgetSystemCustomCursor(final String name)
Returns a system-specific custom cursor object matching the specified name.
intgetType()
Returns the type for this cursor.
StringtoString()
Returns a string representation of this cursor.