Top Description Fields Constructors Methods
com.sun.javafx.cursor

public abstract Class CursorFrame

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.javafx.cursor.ImageCursorFrame, com.sun.javafx.cursor.StandardCursorFrame
Imports
java.util.HashMap, .Map

Represents a frame of an animated cursor (ImageCursor created from an animated image), non animated cursors and standard cursors have only a single CursorFrame.

Field Summary

Modifier and TypeField and Description
private Object
private Class<?>
private Map<Class<?>, Object>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract CursorType
public <T> T
getPlatformCursor(final Class<T> platformCursorClass)

public <T> void
setPlatforCursor(final Class<T> platformCursorClass, final T platformCursor)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

firstPlatformCursorback to summary
private Object firstPlatformCursor
firstPlatformCursorClassback to summary
private Class<?> firstPlatformCursorClass
otherPlatformCursorsback to summary
private Map<Class<?>, Object> otherPlatformCursors

Constructor Detail

CursorFrameback to summary
public CursorFrame()

Method Detail

getCursorTypeback to summary
public abstract CursorType getCursorType()
getPlatformCursorback to summary
public <T> T getPlatformCursor(final Class<T> platformCursorClass)
setPlatforCursorback to summary
public <T> void setPlatforCursor(final Class<T> platformCursorClass, final T platformCursor)