Package io.tlf.jme.jfx.injme.cursor
Interface CursorDisplayProvider
-
- All Known Implementing Classes:
JmeCursorProvider
public interface CursorDisplayProviderThe provider to implement the process of showing different types of cursors.
-
-
Method Summary
All Methods Instance Methods Abstract 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
void prepare(com.sun.javafx.cursor.CursorType cursorType)
This method will be called on initializing javaFX container to prepare an image for the cursor type.- Parameters:
cursorType- the cursor type.
-
show
void show(com.sun.javafx.cursor.CursorFrame cursorFrame)
Shows an image for the cursor frame.- Parameters:
cursorFrame- the cursor frame.
-
-