Class DDHorizontalSplitPanel.HorizontalSplitPanelTargetDetails
java.lang.Object
com.vaadin.event.dd.TargetDetailsImpl
io.jmix.ui.widget.addon.dragdroplayouts.DDHorizontalSplitPanel.HorizontalSplitPanelTargetDetails
- All Implemented Interfaces:
com.vaadin.event.dd.TargetDetails
,Serializable
- Enclosing class:
- DDHorizontalSplitPanel
public class DDHorizontalSplitPanel.HorizontalSplitPanelTargetDetails
extends com.vaadin.event.dd.TargetDetailsImpl
Contains the location and other information about the drop.
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
HorizontalSplitPanelTargetDetails
(Map<String, Object> rawDropData) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.shared.ui.dd.HorizontalDropLocation
Get the horizontal position of the dropped component within the underlying cell.com.vaadin.shared.MouseEventDetails
Some details about the mouse eventcom.vaadin.ui.Component
The component over which the drop was made.Methods inherited from class com.vaadin.event.dd.TargetDetailsImpl
getData, getTarget, setData
-
Constructor Details
-
HorizontalSplitPanelTargetDetails
-
-
Method Details
-
getOverComponent
public com.vaadin.ui.Component getOverComponent()The component over which the drop was made.- Returns:
- Null if the drop was not over a component, else the component
-
getMouseEvent
public com.vaadin.shared.MouseEventDetails getMouseEvent()Some details about the mouse event- Overrides:
getMouseEvent
in classcom.vaadin.event.dd.TargetDetailsImpl
- Returns:
- details about the actual event that caused the event details. Practically mouse move or mouse up.
-
getDropLocation
public com.vaadin.shared.ui.dd.HorizontalDropLocation getDropLocation()Get the horizontal position of the dropped component within the underlying cell.- Returns:
- The drop location
-