public class DndMoveHandler extends DndHandlerBase
Constructor and Description |
---|
DndMoveHandler() |
Modifier and Type | Method and Description |
---|---|
void |
createCommands(List<SVGElementModel> sourceElements,
SVGElementModel target,
DndCommandFactory.DropGesture dropGesture)
Creates the commands which represent the drag and drop operation
|
String |
getMessage(List<SVGElementModel> sourceElements)
Returns the text which appears in the ghost during a
drag and drop operation
|
String |
getOperationCssAttr()
Returns the DOM attribute value which trigger the display
of the proper icons in the drag ghost using a CSS rule
|
getKeyCode, getSourceElementNames, isValidSource, isValidTarget
public String getOperationCssAttr()
IDndHandler
public String getMessage(List<SVGElementModel> sourceElements)
IDndHandler
sourceElements
- The elements being draggedpublic void createCommands(List<SVGElementModel> sourceElements, SVGElementModel target, DndCommandFactory.DropGesture dropGesture)
IDndHandler
sourceElements
- The drag source elementstarget
- The drop target elementsdropGesture
- The drop gestureCopyright © 2018. All Rights Reserved.