public class SelectableDraggableFactory extends AbstractDraggableFactory
AbstractDraggableFactory related to a Selectable widget| Constructor and Description |
|---|
SelectableDraggableFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Draggable<?> |
create(java.lang.String id,
java.lang.String selector,
java.lang.String helper)
|
protected java.lang.String |
getHelper(java.lang.String selector)
Gets the helper that might be used by the
Draggable.The returned value is supplied to the AbstractDraggableFactory.create(String, String, String) method. |
createprotected java.lang.String getHelper(java.lang.String selector)
AbstractDraggableFactoryDraggable.AbstractDraggableFactory.create(String, String, String) method.getHelper in class AbstractDraggableFactoryselector - the selectorprotected Draggable<?> create(java.lang.String id, java.lang.String selector, java.lang.String helper)
AbstractDraggableFactoryDraggable by using the selector and/or the helper.return new Draggable(id) { protected void onConfigure(JQueryBehavior behavior) { super.onConfigure(behavior); behavior.setOption("helper", helper); } };
create in class AbstractDraggableFactoryid - the markup idselector - the related component's selectorhelper - the jQuery helperDraggable objectCopyright © 2014 7thWeb. All Rights Reserved.