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

pack-priv final Class WinCursor

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

MS Windows platform implementation class for Cursor.

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
WinCursor(int type)

protected
WinCursor(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 static native Size
_getBestSize(int width, int height)

private static native void
private static native void
_setVisible(boolean visible)

pack-priv static Size
getBestSize_impl(int width, int height)

pack-priv static void
setVisible_impl(boolean visible)

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

Constructor Detail

WinCursorback to summary
protected WinCursor(int type)
WinCursorback to summary
protected WinCursor(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
_getBestSizeback to summary
private static native Size _getBestSize(int width, int height)
_initIDsback to summary
private static native void _initIDs()
_setVisibleback to summary
private static native void _setVisible(boolean visible)
getBestSize_implback to summary
pack-priv static Size getBestSize_impl(int width, int height)
setVisible_implback to summary
pack-priv static void setVisible_impl(boolean visible)