| Package | Description |
|---|---|
| org.odlabs.wiquery.ui.draggable |
| Modifier and Type | Method and Description |
|---|---|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setAddClasses(boolean addClasses)
If set to false, will prevent the ui-draggable class from being added.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setAppendTo(String appendTo)
The element passed to or selected by the appendTo option will be used as
the draggable helper's container during dragging.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setAxis(DraggableBehavior.AxisEnum axis)
Constrains dragging to either the horizontal (x) or vertical (y) axis.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setCancel(String cancel)
Set's the prevent selecting if you start on elements matching the selector
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setConnectToSortable(String connectToSortable)
Allows the draggable to be dropped onto the specified sortables.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setContainment(DraggableContainment containment)
Set's the constrains dragging to within the bounds of the specified element
or region.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setCursor(String cursor)
Set the css cursor during the drag operation.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setCursorAt(ListItemOptions<DraggableCursorAt> cusorAt)
Moves the dragging helper so the cursor always appears to drag from the same
position.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setDelay(int delay)
Time in milliseconds after mousedown until dragging should start.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setDisabled(boolean disabled)
Disables (true) or enables (false) the draggable.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setDistance(int distance)
Set's the distance in pixels after mousedown the mouse must move before
dragging should start.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setGrid(int x,
int y)
Snaps the dragging helper to a grid, every x and y pixels.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setHandle(String handle)
Restricts sort start click to the specified element.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setHelper(DraggableHelper helper)
Allows for a helper element to be used for dragging display.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setIframeFix(DraggableIframeFix iframeFix)
Prevent iframes from capturing the mousemove events during a drag.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setOpacity(float opacity)
Set's the opacity for the helper while being dragged.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setRefreshPositions(boolean refreshPositions)
If set to true, all droppable positions are calculated on every mousemove.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setRevert(DraggableRevert revert)
If set to true, the element will return to its start position when dragging
stops.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setRevertDuration(int revertDuration)
Set's the duration of the revert animation, in milliseconds.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setScope(String scope)
Used to group sets of draggable and droppable items, in addition to
droppable's accept option.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setScroll(boolean scroll)
If set to true, container auto-scrolls while dragging.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setScrollSensitivity(int scrollSensitivity)
Set's the distance in pixels from the edge of the viewport after which the
viewport should scroll.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setScrollSpeed(int scrollSpeed)
Set's speed at which the window should scroll once the mouse pointer gets
within the scrollSensitivity distance.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setSnap(DraggableSnap snap)
If set to a selector or to true (equivalent to '.ui-draggable'), the
draggable will snap to the edges of the selected elements when near an
edge of the element.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setSnapMode(DraggableBehavior.SnapModeEnum snapMode)
Sets the edges of snap elements the draggable will snap to.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setSnapTolerance(int snapTolerance)
Set's distance in pixels from the snap element edges at which snapping
should occur.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setStack(String stack)
Controls the z-Index of the defined group (key 'group' in the hash,
accepts jQuery selector) automatically, always brings to front the dragged
item.
|
DraggableAjaxBehavior |
DraggableAjaxBehavior.setZIndex(int zIndex)
Set's the starting z-index
|
Copyright © 2009-2012. All Rights Reserved.