Interface CursorDisplayProvider

  • All Known Implementing Classes:
    JmeCursorProvider

    public interface CursorDisplayProvider
    The provider to implement the process of showing different types of cursors.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      void show​(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.