public class DragEndEvent extends GwtEvent<DragEndEvent.DragEndHandler>
Modifier and Type | Class and Description |
---|---|
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. |
GwtEvent.Type<H>
Constructor and Description |
---|
DragEndEvent(Widget target,
Element startElement,
int x,
int y,
Event event) |
Modifier and Type | Method and Description |
---|---|
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.
|
toDebugString, toString
public static GwtEvent.Type<DragEndEvent.DragEndHandler> getType()
public GwtEvent.Type<DragEndEvent.DragEndHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<DragEndEvent.DragEndHandler>
public NativeEvent getNativeEvent()
public Draggable getSource()
getSource
in class GwtEvent<DragEndEvent.DragEndHandler>
public Element getStartElement()
public Widget getTarget()
public int getX()
public int getY()
Copyright © 2015. All rights reserved.