APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.glass.ui.ios

pack-priv final Class IosCursor

extends Cursor
Class Inheritance
Imports
com.sun.glass.ui.Cursor, .Pixels

iOS platform implementation class of glass Cursor. On iOS touch there is no cursor. Keeping this stub class as a starting point for implementing cursor emulation if needed, etc.

Field Summary

Inherited from com.sun.glass.ui.Cursor:
CURSOR_CLOSED_HANDCURSOR_CROSSHAIRCURSOR_CUSTOMCURSOR_DEFAULTCURSOR_DISAPPEARCURSOR_MOVECURSOR_NONECURSOR_OPEN_HANDCURSOR_POINTING_HANDCURSOR_RESIZE_DOWNCURSOR_RESIZE_LEFTCURSOR_RESIZE_LEFTRIGHTCURSOR_RESIZE_NORTHEASTCURSOR_RESIZE_NORTHWESTCURSOR_RESIZE_RIGHTCURSOR_RESIZE_SOUTHEASTCURSOR_RESIZE_SOUTHWESTCURSOR_RESIZE_UPCURSOR_RESIZE_UPDOWNCURSOR_TEXTCURSOR_WAIT

Constructor Summary

AccessConstructor and Description
protected
IosCursor(int type)

protected
IosCursor(int x, int y, Pixels pixels)

Method Summary

Modifier and TypeMethod and Description
protected native long
_createCursor(int x, int y, Pixels pixels)

Implements abstract com.sun.glass.ui.Cursor._createCursor.

private native void
_set(int type)

private native void
_setCustom(long ptr)

pack-priv void
set()

Inherited from com.sun.glass.ui.Cursor:
getBestSizegetNativeCursorgetTypesetVisible

Constructor Detail

IosCursorback to summary
protected IosCursor(int type)
IosCursorback to summary
protected IosCursor(int x, int y, Pixels pixels)

Method Detail

_createCursorback to summary
protected native long _createCursor(int x, int y, Pixels pixels)

Implements abstract com.sun.glass.ui.Cursor._createCursor.

Annotations
@Override
_setback to summary
private native void _set(int type)
_setCustomback to summary
private native void _setCustom(long ptr)
setback to summary
pack-priv void set()