public class DndDragEnterEvent extends GwtEvent<DndDragEnterEvent.DndDragEnterHandler> implements CancellableEvent
Modifier and Type | Class and Description |
---|---|
static interface |
DndDragEnterEvent.DndDragEnterHandler
Handler for
DndDragEnterEvent events. |
static interface |
DndDragEnterEvent.HasDndDragEnterHandlers
A widget that implements this interface is a public source of
DndDragEnterEvent events. |
GwtEvent.Type<H>
Constructor and Description |
---|
DndDragEnterEvent(Widget target,
DragSource dragSource,
DragMoveEvent event,
StatusProxy status) |
Modifier and Type | Method and Description |
---|---|
GwtEvent.Type<DndDragEnterEvent.DndDragEnterHandler> |
getAssociatedType() |
DragMoveEvent |
getDragEnterEvent() |
DragSource |
getDragSource() |
NativeEvent |
getNativeEvent()
Returns the native event.
|
Draggable |
getSource() |
StatusProxy |
getStatusProxy() |
Widget |
getTarget() |
static GwtEvent.Type<DndDragEnterEvent.DndDragEnterHandler> |
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.
|
toDebugString, toString
public DndDragEnterEvent(Widget target, DragSource dragSource, DragMoveEvent event, StatusProxy status)
public static GwtEvent.Type<DndDragEnterEvent.DndDragEnterHandler> getType()
public GwtEvent.Type<DndDragEnterEvent.DndDragEnterHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<DndDragEnterEvent.DndDragEnterHandler>
public DragMoveEvent getDragEnterEvent()
public DragSource getDragSource()
public NativeEvent getNativeEvent()
public Draggable getSource()
getSource
in class GwtEvent<DndDragEnterEvent.DndDragEnterHandler>
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 cancelCopyright © 2015. All rights reserved.