public interface DragAndDropStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_DND_DATA |
static String |
ATTRIBUTE_DND_SELECTION_SUPPLIER |
| Modifier and Type | Method and Description |
|---|---|
void |
makeDraggable(org.zkoss.zk.ui.HtmlBasedComponent component,
Object businessObject,
CockpitContext context)
Makes given
HtmlBasedComponent a draggable component, representing given businessObject. |
void |
makeDraggable(org.zkoss.zk.ui.HtmlBasedComponent component,
Object businessObject,
CockpitContext context,
SelectionSupplier selectionSupplier)
Makes given
HtmlBasedComponent a draggable component, representing given businessObject. |
void |
makeDroppable(org.zkoss.zk.ui.HtmlBasedComponent component,
Object businessObject,
CockpitContext context)
Makes given
HtmlBasedComponent a droppable component, representing given businessObject. |
static final String ATTRIBUTE_DND_DATA
static final String ATTRIBUTE_DND_SELECTION_SUPPLIER
void makeDraggable(org.zkoss.zk.ui.HtmlBasedComponent component,
Object businessObject,
CockpitContext context)
HtmlBasedComponent a draggable component, representing given businessObject.component - component to make draggable.businessObject - object represented by component.context - operation context.void makeDraggable(org.zkoss.zk.ui.HtmlBasedComponent component,
Object businessObject,
CockpitContext context,
SelectionSupplier selectionSupplier)
HtmlBasedComponent a draggable component, representing given businessObject.component - component to make draggable.businessObject - object represented by component.context - operation context.selectionSupplier - supplier of selected objects.void makeDroppable(org.zkoss.zk.ui.HtmlBasedComponent component,
Object businessObject,
CockpitContext context)
HtmlBasedComponent a droppable component, representing given businessObject.component - component to make droppable.businessObject - object represented by component.context - operation context.Copyright © 2018. All rights reserved.