| Package | Description |
|---|---|
| org.odlabs.wiquery.ui.droppable |
| Modifier and Type | Method and Description |
|---|---|
DroppableBehavior |
DroppableAjaxBehavior.getDroppableBehavior() |
DroppableBehavior |
DroppableBehavior.setAccept(DroppableAccept accept)
All draggables that match the selector will be accepted.
|
DroppableBehavior |
DroppableBehavior.setActivateEvent(JsScopeUiEvent activate)
Set's the callback when an accepted draggable starts dragging.
|
DroppableBehavior |
DroppableBehavior.setActiveClass(String activeClass)
If specified, the class will be added to the droppable while an
acceptable draggable is being dragged.
|
DroppableBehavior |
DroppableBehavior.setAddClasses(boolean addClasses)
If true, will prevent event propagation on nested droppables.
|
DroppableBehavior |
DroppableBehavior.setDeactivateEvent(JsScopeUiEvent deactivate)
Set's the callback when an accepted draggable stops dragging.
|
DroppableBehavior |
DroppableBehavior.setDisabled(boolean disabled)
Disables (true) or enables (false) the droppable.
|
DroppableBehavior |
DroppableBehavior.setDropEvent(JsScopeUiEvent drop)
Set's the callback when an accepted draggable is dropped 'over' (within
the tolerance of) this droppable.
|
DroppableBehavior |
DroppableBehavior.setGreedy(boolean greedy)
If true, will prevent event propagation on nested droppables.
|
DroppableBehavior |
DroppableBehavior.setHoverClass(String hoverClass)
If specified, the class will be added to the droppable while an
acceptable draggable is being hovered.
|
DroppableBehavior |
DroppableBehavior.setOutEvent(JsScopeUiEvent out)
Set's the callback when an accepted draggable is dragged out (within the
tolerance of) this droppable.
|
DroppableBehavior |
DroppableBehavior.setOverEvent(JsScopeUiEvent over)
Set's the callback when an accepted draggable is dragged 'over' (within
the tolerance of) this droppable.
|
DroppableBehavior |
DroppableBehavior.setScope(String scope)
Used to group sets of draggable and droppable items, in addition to
droppable's accept option.
|
DroppableBehavior |
DroppableBehavior.setTolerance(DroppableBehavior.ToleranceEnum tolerance)
Set's the mode to use for testing whether a draggable is 'over' a
droppable.
|
Copyright © 2009-2012. All Rights Reserved.