public abstract class DndHandlerBase extends Object implements IDndHandler
| Constructor and Description |
|---|
DndHandlerBase() |
| Modifier and Type | Method and Description |
|---|---|
int |
getKeyCode()
Returns the key code associated with this handler
|
static String |
getSourceElementNames(List<SVGElementModel> sourceElements) |
boolean |
isValidSource(com.extjs.gxt.ui.client.event.DNDEvent event,
List<SVGElementModel> sourceElements)
Determines the feasibility of creating a command using the
specified source elements as drag sources.
|
boolean |
isValidTarget(List<SVGElementModel> sourceElements,
SVGElementModel target)
Determines if dropping on the specified target will result
in a successful command creation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCommands, getMessage, getOperationCssAttrpublic boolean isValidSource(com.extjs.gxt.ui.client.event.DNDEvent event,
List<SVGElementModel> sourceElements)
IDndHandlerisValidSource in interface IDndHandlerevent - The drag and drop eventsourceElements - The elements being draggedpublic static String getSourceElementNames(List<SVGElementModel> sourceElements)
public boolean isValidTarget(List<SVGElementModel> sourceElements, SVGElementModel target)
IDndHandlerisValidTarget in interface IDndHandlersourceElements - The elements being draggedtarget - The hovered targetpublic int getKeyCode()
IDndHandlergetKeyCode in interface IDndHandlerCopyright © 2018. All Rights Reserved.