Class JmeFxDnDHandler

  • All Implemented Interfaces:
    com.sun.javafx.embed.HostDragStartListener

    public class JmeFxDnDHandler
    extends java.lang.Object
    implements com.sun.javafx.embed.HostDragStartListener
    A very hacky implementation of a DND system, similar to SwingDND but for jme context.
    Allows for inner application drag and drop support.
    Cross GuiManager support is untested.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dragStarted​(com.sun.javafx.embed.EmbeddedSceneDSInterface dragSource, javafx.scene.input.TransferMode transferMode)  
      void mouseUpdate​(int x, int y, boolean mousePressed)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • dragStarted

        public void dragStarted​(com.sun.javafx.embed.EmbeddedSceneDSInterface dragSource,
                                javafx.scene.input.TransferMode transferMode)
        Specified by:
        dragStarted in interface com.sun.javafx.embed.HostDragStartListener
      • mouseUpdate

        public void mouseUpdate​(int x,
                                int y,
                                boolean mousePressed)