|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.allen_sauer.gwt.dnd.client.AbstractDragController
com.allen_sauer.gwt.dnd.client.PickupDragController
com.allen_sauer.gwt.dnd.demo.client.example.flextable.FlexTableRowDragController
public final class FlexTableRowDragController
Allows table rows to dragged by their handle.
| Field Summary |
|---|
| Fields inherited from class com.allen_sauer.gwt.dnd.client.AbstractDragController |
|---|
context |
| Constructor Summary | |
|---|---|
FlexTableRowDragController(com.google.gwt.user.client.ui.AbsolutePanel boundaryPanel)
|
|
| Method Summary | |
|---|---|
void |
dragEnd()
Callback method for MouseDragHandler. |
protected BoundaryDropController |
newBoundaryDropController(com.google.gwt.user.client.ui.AbsolutePanel boundaryPanel,
boolean allowDroppingOnBoundaryPanel)
Create a new BoundaryDropController to manage our boundary panel as a drop target. |
protected com.google.gwt.user.client.ui.Widget |
newDragProxy(DragContext context)
Called by PickupDragController.dragStart() to allow subclasses to provide their own
drag proxies. |
void |
setBehaviorDragProxy(boolean dragProxyEnabled)
Set whether or not this controller should automatically create a drag proxy for each drag operation. |
| Methods inherited from class com.allen_sauer.gwt.dnd.client.PickupDragController |
|---|
dragMove, dragStart, getBehaviorBoundaryPanelDrop, getBehaviorDragProxy, getSelectedWidgets, previewDragEnd, registerDropController, resetCache, restoreSelectedWidgetsLocation, restoreSelectedWidgetsStyle, saveSelectedWidgetsLocationAndStyle, setBehaviorBoundaryPanelDrop, unregisterDropController, unregisterDropControllers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlexTableRowDragController(com.google.gwt.user.client.ui.AbsolutePanel boundaryPanel)
| Method Detail |
|---|
public void dragEnd()
DragControllerMouseDragHandler.
dragEnd in interface DragControllerdragEnd in class PickupDragControllerpublic void setBehaviorDragProxy(boolean dragProxyEnabled)
PickupDragController
setBehaviorDragProxy in class PickupDragControllerdragProxyEnabled - true to enable drag proxy behavior
protected BoundaryDropController newBoundaryDropController(com.google.gwt.user.client.ui.AbsolutePanel boundaryPanel,
boolean allowDroppingOnBoundaryPanel)
PickupDragControllerallowDroppingOnBoundaryPanel to false.
newBoundaryDropController in class PickupDragControllerboundaryPanel - the panel to which our drag-and-drop operations are constrainedallowDroppingOnBoundaryPanel - whether or not dropping is allowed on the boundary panel
protected com.google.gwt.user.client.ui.Widget newDragProxy(DragContext context)
PickupDragControllerPickupDragController.dragStart() to allow subclasses to provide their own
drag proxies.
newDragProxy in class PickupDragControllercontext - the current drag context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||