Class DefaultAbsoluteLayoutDropHandler
java.lang.Object
io.jmix.ui.widget.addon.dragdroplayouts.drophandlers.AbstractDefaultLayoutDropHandler
io.jmix.ui.widget.addon.dragdroplayouts.drophandlers.DefaultAbsoluteLayoutDropHandler
- All Implemented Interfaces:
com.vaadin.event.dd.DropHandler
,Serializable
A default drop handler for absolute layouts
- Since:
- 0.4.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<com.vaadin.ui.AbsoluteLayout>
protected void
handleComponentReordering
(com.vaadin.event.dd.DragAndDropEvent event) Called when a component changed location within the layoutprotected void
handleDropFromLayout
(com.vaadin.event.dd.DragAndDropEvent event) Handle a drop from another layoutprotected void
handleHTML5Drop
(com.vaadin.event.dd.DragAndDropEvent event) Methods inherited from class io.jmix.ui.widget.addon.dragdroplayouts.drophandlers.AbstractDefaultLayoutDropHandler
drop, getAcceptCriterion, handleDropFromAbsoluteParentLayout, resolveComponentFromHTML5Drop
-
Constructor Details
-
DefaultAbsoluteLayoutDropHandler
public DefaultAbsoluteLayoutDropHandler()
-
-
Method Details
-
handleComponentReordering
protected void handleComponentReordering(com.vaadin.event.dd.DragAndDropEvent event) Called when a component changed location within the layout- Specified by:
handleComponentReordering
in classAbstractDefaultLayoutDropHandler
- Parameters:
event
- The drag and drop event
-
handleDropFromLayout
protected void handleDropFromLayout(com.vaadin.event.dd.DragAndDropEvent event) Handle a drop from another layout- Specified by:
handleDropFromLayout
in classAbstractDefaultLayoutDropHandler
- Parameters:
event
- The drag and drop event
-
handleHTML5Drop
protected void handleHTML5Drop(com.vaadin.event.dd.DragAndDropEvent event) - Overrides:
handleHTML5Drop
in classAbstractDefaultLayoutDropHandler
-
getTargetLayoutType
- Specified by:
getTargetLayoutType
in classAbstractDefaultLayoutDropHandler
-