| Package | Description |
|---|---|
| org.odlabs.wiquery.ui.sortable |
| Modifier and Type | Method and Description |
|---|---|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setAppendTo(String appendTo)
Defines where the helper that moves with the mouse is being appended to
during the drag (for example, to resolve overlap/zIndex issues).
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setAxis(SortableBehavior.AxisEnum axis)
If defined, the items can be dragged only horizontally or vertically.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setCancel(String cancel)
Set's the prevent selecting if you start on elements matching the selector
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setConnectWith(String connectWith)
Set a jQuery selector with items that also have sortables applied.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setContainment(SortableContainment containment)
Constrains dragging to within the bounds of the specified element -
can be a DOM element, 'parent', 'document', 'window', or a jQuery selector.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setCursor(String cursor)
Set the cursor that is being shown while sorting
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setCursorAt(SortableBehavior.CursorAtEnum cusorAt)
Moves the sorting element or helper so the cursor always appears to drag
from the same position.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setDelay(int delay)
Set's the delay (in milliseconds) to define when the sorting should start
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setDisabled(boolean disabled)
Disables (true) or enables (false) the sortable.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setDistance(int distance)
Set's the tolerance in pixels
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setDropOnEmpty(boolean dropOnEmpty)
If empty allows for an item to be dropped from a linked selectable.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setForceHelperSize(boolean forceHelperSize)
If true, forces the helper to have a size.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setForcePlaceholderSize(boolean forcePlaceholderSize)
If true, forces the placeholder to have a size.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setGrid(int x,
int y)
Snaps the sorting element or helper to a grid, every x and y pixels.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setHandle(String handle)
Restricts sort start click to the specified element.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setHelper(SortableHelper helper)
Allows for a helper element to be used for dragging display.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setItems(String items)
Specifies which items inside the element should be sortable.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setOpacity(float opacity)
Set the opacity of the helper while sorting.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setPlaceholder(String placeholder)
Set's the class that gets applied to the otherwise white space.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setRevert(SortableRevert revert)
If set to true, the item will be reverted to its new DOM position with
a smooth animation.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setScroll(boolean scroll)
If set to true, the page scrolls when coming to an edge.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setScrollSensitivity(int scrollSensitivity)
Defines how near the mouse must be to an edge to start scrolling.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setScrollSpeed(int scrollSpeed)
The speed at which the window should scroll once the mouse pointer gets
within the scrollSensitivity distance.
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setTolerance(SortableBehavior.ToleranceEnum tolerance)
Set's the tolerance
intersect: draggable overlaps the droppable at least 50%
pointer: mouse pointer overlaps the droppable
|
SortableAjaxBehavior<E> |
SortableAjaxBehavior.setZIndex(int zIndex)
Set's Z-index for element/helper while being sorted.
|
Copyright © 2009-2012. All Rights Reserved.