public class DndDragStartEvent extends GwtEvent<DndDragStartEvent.DndDragStartHandler> implements CancellableEvent
Modifier and Type | Class and Description |
---|---|
static interface |
DndDragStartEvent.DndDragStartHandler |
static interface |
DndDragStartEvent.HasDndDragStartHandlers
A widget that implements this interface is a public source of
DndDragStartEvent events. |
GwtEvent.Type<H>
Constructor and Description |
---|
DndDragStartEvent(Widget target,
DragStartEvent event,
StatusProxy status,
Object data) |
Modifier and Type | Method and Description |
---|---|
GwtEvent.Type<DndDragStartEvent.DndDragStartHandler> |
getAssociatedType() |
Object |
getData() |
DragStartEvent |
getDragStartEvent() |
Draggable |
getSource() |
StatusProxy |
getStatusProxy() |
Widget |
getTarget() |
static GwtEvent.Type<DndDragStartEvent.DndDragStartHandler> |
getType()
Gets the type associated with this event.
|
boolean |
isCancelled()
Returns true if the event is cancelled.
|
void |
setCancelled(boolean cancel)
True to cancel the event.
|
void |
setData(Object data) |
toDebugString, toString
public DndDragStartEvent(Widget target, DragStartEvent event, StatusProxy status, Object data)
public static GwtEvent.Type<DndDragStartEvent.DndDragStartHandler> getType()
public GwtEvent.Type<DndDragStartEvent.DndDragStartHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<DndDragStartEvent.DndDragStartHandler>
public Object getData()
public DragStartEvent getDragStartEvent()
public Draggable getSource()
getSource
in class GwtEvent<DndDragStartEvent.DndDragStartHandler>
public StatusProxy getStatusProxy()
public Widget getTarget()
public boolean isCancelled()
CancellableEvent
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancel)
CancellableEvent
setCancelled
in interface CancellableEvent
cancel
- true to cancelpublic void setData(Object data)
Copyright © 2015. All rights reserved.