org.mobicents.servlet.management.client.dnd
Class BoundaryDropController
java.lang.Object
com.allen_sauer.gwt.dnd.client.drop.AbstractDropController
com.allen_sauer.gwt.dnd.client.drop.AbstractPositioningDropController
com.allen_sauer.gwt.dnd.client.drop.AbsolutePositionDropController
org.mobicents.servlet.management.client.dnd.BoundaryDropController
- All Implemented Interfaces:
- com.allen_sauer.gwt.dnd.client.drop.DropController
public class BoundaryDropController
- extends com.allen_sauer.gwt.dnd.client.drop.AbsolutePositionDropController
A DropController for the Panel
which contains a given draggable widget.
| Fields inherited from class com.allen_sauer.gwt.dnd.client.drop.AbstractDropController |
CSS_DROP_TARGET_ENGAGE |
|
Constructor Summary |
BoundaryDropController(com.google.gwt.user.client.ui.AbsolutePanel dropTarget,
boolean allowDroppingOnBoundaryPanel)
|
| Methods inherited from class com.allen_sauer.gwt.dnd.client.drop.AbsolutePositionDropController |
drop, getConstrainedLocation, onDrop, onEnter, onLeave, onMove |
| Methods inherited from class com.allen_sauer.gwt.dnd.client.drop.AbstractPositioningDropController |
getPositioner, newPositioner |
| Methods inherited from class com.allen_sauer.gwt.dnd.client.drop.AbstractDropController |
getCurrentDragController, getDropTarget, getDropTargetEngageStyleName, getDropTargetStyleName, makeDragEndEvent, makeDragEndEvent, onDrop, onEnter, onLeave, onLeave, onMove, onMove, onPreviewDrop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundaryDropController
public BoundaryDropController(com.google.gwt.user.client.ui.AbsolutePanel dropTarget,
boolean allowDroppingOnBoundaryPanel)
getBehaviorBoundaryPanelDrop
public boolean getBehaviorBoundaryPanelDrop()
- Whether or not dropping on the boundary panel is permitted.
- Returns:
true if dropping on the boundary panel is allowed
onPreviewDrop
public void onPreviewDrop(com.allen_sauer.gwt.dnd.client.DragContext context)
throws com.allen_sauer.gwt.dnd.client.VetoDragException
- Specified by:
onPreviewDrop in interface com.allen_sauer.gwt.dnd.client.drop.DropController- Overrides:
onPreviewDrop in class com.allen_sauer.gwt.dnd.client.drop.AbstractDropController
- Throws:
com.allen_sauer.gwt.dnd.client.VetoDragException
setBehaviorBoundaryPanelDrop
public void setBehaviorBoundaryPanelDrop(boolean allowDroppingOnBoundaryPanel)
- Set whether or not widgets may be dropped anywhere on the boundary panel.
Set to
false when you only want explicitly registered drop
controllers to accept drops. Defaults to true.
- Parameters:
allowDroppingOnBoundaryPanel - true to allow dropping
Copyright © 2010. All Rights Reserved.