|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.allen_sauer.gwt.dnd.client.drop.AbstractDropController
com.allen_sauer.gwt.dnd.client.drop.SimpleDropController
com.allen_sauer.gwt.dnd.demo.client.example.puzzle.SetWidgetDropController
public class SetWidgetDropController
DropController which allows a widget to be dropped on a SimplePanel drop target when the drop target does not yet have a child widget.
| Constructor Summary | |
|---|---|
SetWidgetDropController(com.google.gwt.user.client.ui.SimplePanel dropTarget)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.allen_sauer.gwt.dnd.client.drop.AbstractDropController |
|---|
getDropTarget, onEnter, onLeave, onMove |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetWidgetDropController(com.google.gwt.user.client.ui.SimplePanel dropTarget)
| Method Detail |
|---|
public void onDrop(DragContext context)
DropController
onDrop 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 context
VetoDragException - if the proposed operation is unacceptable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||