com.sencha.gxt.fx.client
Class DragEndEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<DragEndEvent.DragEndHandler>
          extended by com.sencha.gxt.fx.client.DragEndEvent

public class DragEndEvent
extends GwtEvent<DragEndEvent.DragEndHandler>

Represents the drag end event.


Nested Class Summary
static interface DragEndEvent.DragEndHandler
          Handler for DragEndEvent events.
static interface DragEndEvent.HasDragEndHandlers
          A widget that implements this interface is a public source of DragEndEvent events.
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
DragEndEvent(Widget target, Element startElement, int x, int y, Event event)
           
 
Method Summary
 GwtEvent.Type<DragEndEvent.DragEndHandler> getAssociatedType()
           
 NativeEvent getNativeEvent()
           
 Draggable getSource()
           
 Element getStartElement()
           
 Widget getTarget()
          Returns the widget being dragged.
static GwtEvent.Type<DragEndEvent.DragEndHandler> getType()
          Gets the type associated with this event.
 int getX()
          Returns the widget's page coordinates.
 int getY()
          Returns the widget's page coordinates.
 
Methods inherited from class com.google.web.bindery.event.shared.Event
toDebugString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DragEndEvent

public DragEndEvent(Widget target,
                    Element startElement,
                    int x,
                    int y,
                    Event event)
Method Detail

getType

public static GwtEvent.Type<DragEndEvent.DragEndHandler> getType()
Gets the type associated with this event.

Returns:
returns the handler type

getAssociatedType

public GwtEvent.Type<DragEndEvent.DragEndHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<DragEndEvent.DragEndHandler>

getNativeEvent

public NativeEvent getNativeEvent()

getSource

public Draggable getSource()
Overrides:
getSource in class GwtEvent<DragEndEvent.DragEndHandler>

getStartElement

public Element getStartElement()

getTarget

public Widget getTarget()
Returns the widget being dragged.

Returns:
the dragged widget

getX

public int getX()
Returns the widget's page coordinates.

Returns:
the x-coordinate value

getY

public int getY()
Returns the widget's page coordinates.

Returns:
the y-coordinate value


Copyright © 2012. All Rights Reserved.