public interface HasDraggable
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addDragEndHandler(DragEndEvent.DragEndHandler handler)
Add a drag end handler
|
com.google.gwt.event.shared.HandlerRegistration |
addDragMoveHandler(DragMoveEvent.DragMoveHandler handler)
Add a drag move handler
|
com.google.gwt.event.shared.HandlerRegistration |
addDragStartHandler(DragStartEvent.DragStartHandler handler)
Add a drag start handler
|
Restriction |
getRestriction()
Gets the restriction properties
|
com.google.gwt.user.client.ui.Widget |
getTarget()
Gets the draggable target
|
com.google.gwt.user.client.ui.Widget |
isIgnoreFrom()
Gets the ignoreFrom widget
|
void |
setIgnoreFrom(String selector)
Sets the ignoreFrom as selector to exclude from dragging
|
void |
setIgnoreFrom(com.google.gwt.user.client.ui.Widget ignoreFrom)
Sets the ignoreFrom widget to exclude from dragging
|
void |
setRestriction(Restriction restriction)
Sets the restriction properties of dnd feature
|
void |
setTarget(com.google.gwt.user.client.ui.Widget target)
Sets the target widget to apply draggable feature
|
void setTarget(com.google.gwt.user.client.ui.Widget target)
target - com.google.gwt.user.client.ui.Widget getTarget()
void setIgnoreFrom(com.google.gwt.user.client.ui.Widget ignoreFrom)
ignoreFrom - void setIgnoreFrom(String selector)
selector - - can accept multiple selector separated by comma e.g. input, i, a, .contentcom.google.gwt.user.client.ui.Widget isIgnoreFrom()
void setRestriction(Restriction restriction)
restriction - Restriction getRestriction()
com.google.gwt.event.shared.HandlerRegistration addDragStartHandler(DragStartEvent.DragStartHandler handler)
handler - com.google.gwt.event.shared.HandlerRegistration addDragMoveHandler(DragMoveEvent.DragMoveHandler handler)
handler - com.google.gwt.event.shared.HandlerRegistration addDragEndHandler(DragEndEvent.DragEndHandler handler)
handler - Copyright © 2016. All rights reserved.