Class WDropEvent

    • Constructor Detail

      • WDropEvent

        public WDropEvent​(WObject source,
                          java.lang.String mimeType,
                          WMouseEvent mouseEvent)
        Constructor.
      • WDropEvent

        public WDropEvent​(WObject source,
                          java.lang.String mimeType,
                          WTouchEvent touchEvent)
        Constructor.
    • Method Detail

      • getMimeType

        public java.lang.String getMimeType()
        Returns the mime type of this drop event.
      • getMouseEvent

        public WMouseEvent getMouseEvent()
        Returns the original mouse event.

        If eventType() == Mouse, this returns the original mouse event, otherwise this returns null.

      • getTouchEvent

        public WTouchEvent getTouchEvent()
        Returns the original touch event.

        If eventType() == Touch, this returns the original touch event, otherwise this returns null.