public class DragHandlerAdapter extends java.lang.Object implements DragHandler
DragHandler interface.| Constructor and Description |
|---|
DragHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onDragEnd(DragEndEvent event)
Fired when drag operation terminates.
|
void |
onDragStart(DragStartEvent event)
Fired when drag is initiated.
|
void |
onPreviewDragEnd(DragEndEvent event)
Fired before
DragHandler.onDragEnd(DragEndEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation. |
void |
onPreviewDragStart(DragStartEvent event)
Fired before
DragHandler.onDragStart(DragStartEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation. |
public void onDragEnd(DragEndEvent event)
DragHandleronDragEnd in interface DragHandlerevent - an event object containing information about the drag operationpublic void onDragStart(DragStartEvent event)
DragHandleronDragStart in interface DragHandlerevent - an event object containing information about the drag operationpublic void onPreviewDragEnd(DragEndEvent event) throws VetoDragException
DragHandlerDragHandler.onDragEnd(DragEndEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation.onPreviewDragEnd in interface DragHandlerevent - an event object containing information about the drag operationVetoDragException - when the drag operation is unacceptablepublic void onPreviewDragStart(DragStartEvent event) throws VetoDragException
DragHandlerDragHandler.onDragStart(DragStartEvent) is fired and provides an opportunity for any
registered DragHandler to throw VetoDragException to prevent the operation.onPreviewDragStart in interface DragHandlerevent - an event object containing information about the drag operationVetoDragException - when the drag operation is unacceptable