Cursor

Methods
2
Fields
2

Getting one

Cursor.new(…)
Cursor.getPredefinedCursor(…)
Box.createGlue():getCursor()

Methods

MethodReturnsDescription
new(type: number)CursorCursor.new(type): one of the predefined types; any other raises IllegalArgumentException.
getPredefinedCursor(type: number)CursorThe shared cursor of a predefined type.

Fields

FieldTypeDescription
DEFAULT_CURSORnumber0.
HAND_CURSORnumber12.

Returned by

MethodReturnsDescription
Component.getCursorCursor?The cursor setCursor set, or nil (inherited).
CursorClass.getPredefinedCursorCursorThe shared cursor of a predefined type.
CursorClass.newCursorCursor.new(type): one of the predefined types; any other raises IllegalArgumentException.

Method details

new

new: (type: number) -> Cursor

Cursor.new(type): one of the predefined types; any other raises IllegalArgumentException.