eu.webtoolkit.jwt
Class WDropEvent

java.lang.Object
  extended by eu.webtoolkit.jwt.WDropEvent

public class WDropEvent
extends java.lang.Object

A class providing details for a drop event.

See Also:
WWidget.dropEvent(WDropEvent event)

Constructor Summary
WDropEvent(WObject source, java.lang.String mimeType, WMouseEvent mouseEvent)
          Constructor.
 
Method Summary
 java.lang.String getMimeType()
          Returns the mime type of this drop event.
 WMouseEvent getMouseEvent()
          Returns the original mouse event.
 WObject getSource()
          Returns the source of the drag&drop operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WDropEvent

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

Method Detail

getSource

public WObject getSource()
Returns the source of the drag&drop operation.

The source is the widget that was set draggable using WInteractWidget#setDraggable().


getMimeType

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


getMouseEvent

public WMouseEvent getMouseEvent()
Returns the original mouse event.