Package io.tlf.jme.jfx.injme.cursor
Class JmeCursorProvider
- java.lang.Object
-
- io.tlf.jme.jfx.injme.cursor.JmeCursorProvider
-
- All Implemented Interfaces:
CursorDisplayProvider
public class JmeCursorProvider extends java.lang.Object implements CursorDisplayProvider
http://www.rw-designer.com/cursor-set/proton by juanello
A cursorProvider that simulates the native JFX one and tries to behave similar,
using native cursors and 2D surface logic.
-
-
Constructor Summary
Constructors Constructor Description JmeCursorProvider(com.jme3.app.Application application, com.jme3.asset.AssetManager assetManager, com.jme3.input.InputManager inputManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprepare(com.sun.javafx.cursor.CursorType cursorType)This method will be called on initializing javaFX container to prepare an image for the cursor type.voidshow(com.sun.javafx.cursor.CursorFrame cursorFrame)Shows an image for the cursor frame.
-
-
-
Method Detail
-
prepare
public void prepare(com.sun.javafx.cursor.CursorType cursorType)
Description copied from interface:CursorDisplayProviderThis method will be called on initializing javaFX container to prepare an image for the cursor type.- Specified by:
preparein interfaceCursorDisplayProvider- Parameters:
cursorType- the cursor type.
-
show
public void show(com.sun.javafx.cursor.CursorFrame cursorFrame)
Description copied from interface:CursorDisplayProviderShows an image for the cursor frame.- Specified by:
showin interfaceCursorDisplayProvider- Parameters:
cursorFrame- the cursor frame.
-
-