Class DefaultFormLayoutDropHandler
java.lang.Object
io.jmix.ui.widget.addon.dragdroplayouts.drophandlers.AbstractDefaultLayoutDropHandler
io.jmix.ui.widget.addon.dragdroplayouts.drophandlers.DefaultFormLayoutDropHandler
- All Implemented Interfaces:
com.vaadin.event.dd.DropHandler
,Serializable
Default drop handler for Form layouts
- Since:
- 0.8.0
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructorDefaultFormLayoutDropHandler
(com.vaadin.ui.Alignment dropCellAlignment) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.event.dd.acceptcriteria.AcceptCriterion
Class<com.vaadin.ui.FormLayout>
protected void
handleComponentReordering
(com.vaadin.event.dd.DragAndDropEvent event) protected void
handleDropFromLayout
(com.vaadin.event.dd.DragAndDropEvent event) protected void
handleHTML5Drop
(com.vaadin.event.dd.DragAndDropEvent event) Methods inherited from class io.jmix.ui.widget.addon.dragdroplayouts.drophandlers.AbstractDefaultLayoutDropHandler
drop, handleDropFromAbsoluteParentLayout, resolveComponentFromHTML5Drop
-
Constructor Details
-
DefaultFormLayoutDropHandler
public DefaultFormLayoutDropHandler()Constructor -
DefaultFormLayoutDropHandler
public DefaultFormLayoutDropHandler(com.vaadin.ui.Alignment dropCellAlignment) Constructor- Parameters:
dropCellAlignment
- The cell alignment of the component after it has been dropped
-
-
Method Details
-
handleComponentReordering
protected void handleComponentReordering(com.vaadin.event.dd.DragAndDropEvent event) - Specified by:
handleComponentReordering
in classAbstractDefaultLayoutDropHandler
-
handleDropFromLayout
protected void handleDropFromLayout(com.vaadin.event.dd.DragAndDropEvent event) - Specified by:
handleDropFromLayout
in classAbstractDefaultLayoutDropHandler
-
handleHTML5Drop
protected void handleHTML5Drop(com.vaadin.event.dd.DragAndDropEvent event) - Overrides:
handleHTML5Drop
in classAbstractDefaultLayoutDropHandler
-
getAcceptCriterion
public com.vaadin.event.dd.acceptcriteria.AcceptCriterion getAcceptCriterion()- Specified by:
getAcceptCriterion
in interfacecom.vaadin.event.dd.DropHandler
- Overrides:
getAcceptCriterion
in classAbstractDefaultLayoutDropHandler
-
getTargetLayoutType
- Specified by:
getTargetLayoutType
in classAbstractDefaultLayoutDropHandler
-