com.alkacon.geranium.client.dnd
public interface I_Draggable
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.dom.client.Element |
getDragHelper(I_DropTarget target)
Creates the drag helper element and attaches it into the DOM.
|
com.google.gwt.dom.client.Element |
getElement()
Returns the draggable element.
|
java.lang.String |
getId()
Returns the draggable id.
|
I_DropTarget |
getParentTarget()
Returns the parent drop target or
null if there is none. |
com.google.gwt.dom.client.Element |
getPlaceholder(I_DropTarget target)
Creates the drag placeholder element.
|
void |
onDragCancel()
Executed on drag cancel.
|
void |
onDrop(I_DropTarget target)
Executed on drop.
|
void |
onStartDrag(I_DropTarget target)
Executed on drag start.
|
com.google.gwt.dom.client.Element getDragHelper(I_DropTarget target)
target - the drop targetcom.google.gwt.dom.client.Element getElement()
java.lang.String getId()
I_DropTarget getParentTarget()
null if there is none.com.google.gwt.dom.client.Element getPlaceholder(I_DropTarget target)
target - the drop targetvoid onDragCancel()
void onDrop(I_DropTarget target)
target - the drop targetvoid onStartDrag(I_DropTarget target)
target - the current drop target