public class HorizontalPanelDropController extends AbstractInsertPanelDropController
DropController for instances of HorizontalPanel.dropTarget| Constructor and Description |
|---|
HorizontalPanelDropController(com.google.gwt.user.client.ui.HorizontalPanel dropTarget)
Construct an
HorizontalPanelDropController. |
| Modifier and Type | Method and Description |
|---|---|
protected LocationWidgetComparator |
getLocationWidgetComparator()
Required implementation method which provides the desired comparator strategy.
|
protected com.google.gwt.user.client.ui.Widget |
newPositioner(DragContext context)
Called by
AbstractInsertPanelDropController.onEnter(DragContext) to create a new
positioner widget for this InsertPanel drop target. |
onDrop, onEnter, onLeave, onMove, onPreviewDropgetDropTargetpublic HorizontalPanelDropController(com.google.gwt.user.client.ui.HorizontalPanel dropTarget)
HorizontalPanelDropController.dropTarget - the HorizontalPanel drop targetprotected LocationWidgetComparator getLocationWidgetComparator()
AbstractInsertPanelDropControllergetLocationWidgetComparator in class AbstractInsertPanelDropControllerprotected com.google.gwt.user.client.ui.Widget newPositioner(DragContext context)
AbstractInsertPanelDropControllerAbstractInsertPanelDropController.onEnter(DragContext) to create a new
positioner widget for this InsertPanel drop target. Override this method to customize
the look and feel of
your positioner. The positioner widget may not have any CSS borders or margins, although there
are no such restrictions on the children of the positioner widget. If borders and/or margins
are desired, wrap that widget in a SimplePanel with a
0px border and margin.newPositioner in class AbstractInsertPanelDropControllercontext - The current drag context.