A class to encapsulate the bitmap representation of the mouse cursor.
A class to encapsulate the bitmap representation of the mouse cursor.
Static Constant.
The crosshair cursor type.
type: int
Static Constant. The crosshair cursor type. type: int
Static Constant.
The type associated with all custom cursors.
type: int
Static Constant. The type associated with all custom cursors. type: int
Static Constant.
The default cursor type (gets set if no cursor is defined).
type: int
Static Constant. The default cursor type (gets set if no cursor is defined). type: int
Static Constant.
The east-resize cursor type.
type: int
Static Constant. The east-resize cursor type. type: int
Static Constant.
The hand cursor type.
type: int
Static Constant. The hand cursor type. type: int
Static Constant.
The move cursor type.
type: int
Static Constant. The move cursor type. type: int
Static Constant.
The north-resize cursor type.
type: int
Static Constant. The north-resize cursor type. type: int
Static Constant.
The north-east-resize cursor type.
type: int
Static Constant. The north-east-resize cursor type. type: int
Static Constant.
The north-west-resize cursor type.
type: int
Static Constant. The north-west-resize cursor type. type: int
Static Constant.
The south-resize cursor type.
type: int
Static Constant. The south-resize cursor type. type: int
Static Constant.
The south-east-resize cursor type.
type: int
Static Constant. The south-east-resize cursor type. type: int
Static Constant.
The south-west-resize cursor type.
type: int
Static Constant. The south-west-resize cursor type. type: int
Static Constant.
The text cursor type.
type: int
Static Constant. The text cursor type. type: int
Static Constant.
The west-resize cursor type.
type: int
Static Constant. The west-resize cursor type. type: int
Static Constant.
The wait cursor type.
type: int
Static Constant. The wait cursor type. type: int
(*get-default-cursor)
Return the system default cursor.
returns: java.awt.Cursor
Return the system default cursor. returns: `java.awt.Cursor`
(*get-predefined-cursor type)
Returns a cursor object with the specified predefined type.
type - the type of predefined cursor - int
returns: the specified predefined cursor - java.awt.Cursor
throws: java.lang.IllegalArgumentException - if the specified cursor type is invalid
Returns a cursor object with the specified predefined type. type - the type of predefined cursor - `int` returns: the specified predefined cursor - `java.awt.Cursor` throws: java.lang.IllegalArgumentException - if the specified cursor type is invalid
(*get-system-custom-cursor name)
Returns a system-specific custom cursor object matching the specified name. Cursor names are, for example: "Invalid.16x16"
name - a string describing the desired system-specific custom cursor - java.lang.String
returns: the system specific custom cursor named - java.awt.Cursor
throws: java.awt.HeadlessException - if GraphicsEnvironment.isHeadless returns true
Returns a system-specific custom cursor object matching the specified name. Cursor names are, for example: "Invalid.16x16" name - a string describing the desired system-specific custom cursor - `java.lang.String` returns: the system specific custom cursor named - `java.awt.Cursor` throws: java.awt.HeadlessException - if GraphicsEnvironment.isHeadless returns true
(->cursor type)
Constructor.
Creates a new cursor object with the specified type.
type - the type of cursor - int
throws: java.lang.IllegalArgumentException - if the specified cursor type is invalid
Constructor. Creates a new cursor object with the specified type. type - the type of cursor - `int` throws: java.lang.IllegalArgumentException - if the specified cursor type is invalid
(get-name this)
Returns the name of this cursor.
returns: a localized description of this cursor. - java.lang.String
Returns the name of this cursor. returns: a localized description of this cursor. - `java.lang.String`
(get-type this)
Returns the type for this cursor.
returns: int
Returns the type for this cursor. returns: `int`
(to-string this)
Returns a string representation of this cursor.
returns: a string representation of this cursor. - java.lang.String
Returns a string representation of this cursor. returns: a string representation of this cursor. - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close