NiftyControlDraggableControlpublic interface Draggable extends NiftyControl
| Modifier and Type | Method | Description |
|---|---|---|
void |
disable(boolean cancelCurrentDrag) |
This function is used to disable the draggable properly.
|
void |
moveToFront() |
Move the draggable control to the front inside its parent element.
|
void |
setDroppable(Droppable droppable) |
Set the droppable that is parent to this draggable.
|
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, layoutCallback, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidthvoid disable(boolean cancelCurrentDrag)
cancelCurrentDrag - in case this parameter is set true the current dragging operation will be
canceled once this function is called.void moveToFront()
void setDroppable(@Nullable
Droppable droppable)
droppable - the new parent droppableCopyright © 2018. All rights reserved.