Top Constructors Methods
com.sun.javafx.tk.quantum

pack-priv final Class CursorUtils

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer, .IntBuffer, javafx.geometry.Dimension2D, com.sun.glass.ui.Application, .Cursor, .Size, com.sun.javafx.cursor.CursorFrame, .ImageCursorFrame, com.sun.javafx.iio.common.PushbroomScaler, .ScalerFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static Cursor
createPlatformCursor(final CursorFrame cursorFrame)

private static Cursor
private static Cursor
createPlatformImageCursor(Object platformImage, float hotspotX, float hotspotY)

private static Cursor
createPlatformImageCursor(int x, int y, int width, int height, Object buffer)

public static Dimension2D
getBestCursorSize(int preferredWidth, int preferredHeight)

public static Cursor
getPlatformCursor(final CursorFrame cursorFrame)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CursorUtilsback to summary
private CursorUtils()

Method Detail

createPlatformCursorback to summary
private static Cursor createPlatformCursor(final CursorFrame cursorFrame)
createPlatformImageCursorback to summary
private static Cursor createPlatformImageCursor(final ImageCursorFrame imageCursorFrame)
createPlatformImageCursorback to summary
private static Cursor createPlatformImageCursor(Object platformImage, float hotspotX, float hotspotY)
createPlatformImageCursorback to summary
private static Cursor createPlatformImageCursor(int x, int y, int width, int height, Object buffer)
getBestCursorSizeback to summary
public static Dimension2D getBestCursorSize(int preferredWidth, int preferredHeight)
getPlatformCursorback to summary
public static Cursor getPlatformCursor(final CursorFrame cursorFrame)