public class SetWidgetDropController extends SimpleDropController
| Constructor and Description |
|---|
SetWidgetDropController(com.google.gwt.user.client.ui.SimplePanel dropTarget) |
| Modifier and Type | Method and Description |
|---|---|
void |
onDrop(DragContext context)
Called when the draggable widget or its proxy is dropped on our drop target.
|
void |
onPreviewDrop(DragContext context)
Called just prior to
DropController.onDrop(DragContext) to allow the drop operation to be cancelled
by throwing a VetoDragException. |
getDropTarget, onEnter, onLeave, onMovepublic SetWidgetDropController(com.google.gwt.user.client.ui.SimplePanel dropTarget)
public void onDrop(DragContext context)
DropControlleronDrop in interface DropControlleronDrop in class AbstractDropControllercontext - the current drag contextDropController.onPreviewDrop(DragContext)public void onPreviewDrop(DragContext context) throws VetoDragException
DropControllerDropController.onDrop(DragContext) to allow the drop operation to be cancelled
by throwing a VetoDragException.onPreviewDrop in interface DropControlleronPreviewDrop in class AbstractDropControllercontext - the current drag contextVetoDragException - if the proposed operation is unacceptable