public final class MouseCursor extends Object
Modifier and Type | Field and Description |
---|---|
static MouseCursor |
Arrow
Returns the arrow mouse cursor.
|
static MouseCursor |
Cross
Returns the cross mouse cursor.
|
static MouseCursor |
DefaultCursor
Returns the default mouse cursor.
|
static MouseCursor |
Hand
Returns the hand mouse cursor.
|
static MouseCursor |
IBeam
Returns the I-beam mouse cursor, for example sue when editing text.
|
static MouseCursor |
None
Returns a mouse cursor that is not visible.
|
static MouseCursor |
SizeAll
Returns the size-all mouse cursor.
|
static MouseCursor |
SizeHorizontal
Returns the horizontal size mouse cursor.
|
static MouseCursor |
SizeNeSw
Returns the size mouse cursor that follows the north-east to south-west diagonal.
|
static MouseCursor |
SizeNwSe
Returns the size mouse cursor that follows the north-west to south-east diagonal.
|
static MouseCursor |
SizeVertical
Returns the horizontal size mouse cursor.
|
Constructor and Description |
---|
MouseCursor(long id)
Creates a new mouse cursor with the given id.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
long |
getId()
The id of the mouse cursor.
|
int |
hashCode() |
public static final MouseCursor DefaultCursor
public static final MouseCursor Arrow
public static final MouseCursor Cross
public static final MouseCursor IBeam
public static final MouseCursor Hand
public static final MouseCursor SizeAll
public static final MouseCursor SizeHorizontal
public static final MouseCursor SizeVertical
public static final MouseCursor SizeNwSe
public static final MouseCursor SizeNeSw
public static final MouseCursor None