| Package | Description |
|---|---|
| com.alkacon.geranium.client.dnd |
| Modifier and Type | Method and Description |
|---|---|
I_DropTarget |
DNDHandler.getCurrentTarget()
Returns the current drop target.
|
I_DropTarget |
I_Draggable.getParentTarget()
Returns the parent drop target or
null if there is none. |
| Modifier and Type | Method and Description |
|---|---|
void |
DNDHandler.addTarget(I_DropTarget target)
Adds a drop target.
|
protected void |
DNDHandler.animateDrop(I_Draggable draggable,
I_DropTarget target,
I_DNDController controller)
Clears the drag process with a move animation of the drag element to the place-holder position.
|
com.google.gwt.dom.client.Element |
I_Draggable.getDragHelper(I_DropTarget target)
Creates the drag helper element and attaches it into the DOM.
|
com.google.gwt.dom.client.Element |
I_Draggable.getPlaceholder(I_DropTarget target)
Creates the drag placeholder element.
|
void |
I_DNDController.onAnimationStart(I_Draggable draggable,
I_DropTarget target,
DNDHandler handler)
Executed when end animation starts.
|
boolean |
I_DNDController.onBeforeDrop(I_Draggable draggable,
I_DropTarget target,
DNDHandler handler)
Executed before drop.
|
void |
I_DNDController.onDragCancel(I_Draggable draggable,
I_DropTarget target,
DNDHandler handler)
Executed on drag cancel.
|
boolean |
I_DNDController.onDragStart(I_Draggable draggable,
I_DropTarget target,
DNDHandler handler)
Executed on drag start.
|
void |
I_DNDController.onDrop(I_Draggable draggable,
I_DropTarget target,
DNDHandler handler)
Executed on drop.
|
void |
I_Draggable.onDrop(I_DropTarget target)
Executed on drop.
|
void |
I_DNDController.onPositionedPlaceholder(I_Draggable draggable,
I_DropTarget target,
DNDHandler handler)
Executed after the placeholder has been positioned inside a drop target.
|
void |
I_Draggable.onStartDrag(I_DropTarget target)
Executed on drag start.
|
boolean |
I_DNDController.onTargetEnter(I_Draggable draggable,
I_DropTarget target,
DNDHandler handler)
Executed when the helper is dragged into a drop target.
|
void |
I_DNDController.onTargetLeave(I_Draggable draggable,
I_DropTarget target,
DNDHandler handler)
Executed when the helper is dragged out of a drop target.
|
void |
DNDHandler.removeTarget(I_DropTarget target)
Removes a drop target from the register.
|