Package com.hybris.cockpitng.dnd
Interface DragAndDropContext
-
- All Superinterfaces:
CockpitContext,java.io.Serializable
- All Known Subinterfaces:
BackofficeDragAndDropContext
- All Known Implementing Classes:
DefaultDragAndDropContext
public interface DragAndDropContext extends CockpitContext
Represents a context passed to drag and drop operations. It allows e.g. pass custom parameters to drop handlers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CockpitContextgetDraggedContext()Returns a context associated with a dragged object.java.util.Set<MouseKeys>getKeys()Returns keys hold during drag and drop operation.CockpitContextgetTargetContext()Returns a context associated with a destination object.-
Methods inherited from interface com.hybris.cockpitng.core.context.CockpitContext
addAllParameters, clearParameters, containsParameter, getParameter, getParameterAsBoolean, getParameterKeys, getParameters, removeParameter, setParameter, setParameters
-
-
-
-
Method Detail
-
getKeys
java.util.Set<MouseKeys> getKeys()
Returns keys hold during drag and drop operation.- Returns:
- hold keys.
-
getDraggedContext
CockpitContext getDraggedContext()
Returns a context associated with a dragged object.- Returns:
- the context object.
-
getTargetContext
CockpitContext getTargetContext()
Returns a context associated with a destination object.- Returns:
- the context object.
-
-