Class DDCssLayout.CssLayoutTargetDetails
java.lang.Object
com.vaadin.event.dd.TargetDetailsImpl
io.jmix.ui.widget.addon.dragdroplayouts.DDCssLayout.CssLayoutTargetDetails
- All Implemented Interfaces:
- com.vaadin.event.dd.TargetDetails,- Serializable
- Enclosing class:
- DDCssLayout
public class DDCssLayout.CssLayoutTargetDetails
extends com.vaadin.event.dd.TargetDetailsImpl
Target details for dropping on a absolute layout.
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCssLayoutTargetDetails(Map<String, Object> rawDropData) Constructor
- 
Method SummaryModifier and TypeMethodDescriptioncom.vaadin.shared.ui.dd.HorizontalDropLocationGet the horizontal position of the dropped component within the underlying cell.com.vaadin.shared.MouseEventDetailsSome details about the mouse eventcom.vaadin.ui.ComponentThe component over which the drop was made.intThe index over which the drop was made.com.vaadin.shared.ui.dd.VerticalDropLocationGet the horizontal position of the dropped component within the underlying cell.Methods inherited from class com.vaadin.event.dd.TargetDetailsImplgetData, getTarget, setData
- 
Constructor Details- 
CssLayoutTargetDetailsConstructor- Parameters:
- rawDropData- The drop data
 
 
- 
- 
Method Details- 
getMouseEventpublic com.vaadin.shared.MouseEventDetails getMouseEvent()Some details about the mouse event- Overrides:
- getMouseEventin class- com.vaadin.event.dd.TargetDetailsImpl
- Returns:
- details about the actual event that caused the event details. Practically mouse move or mouse up.
 
- 
getHorizontalDropLocationpublic com.vaadin.shared.ui.dd.HorizontalDropLocation getHorizontalDropLocation()Get the horizontal position of the dropped component within the underlying cell.- Returns:
- The drop location
 
- 
getVerticalDropLocationpublic com.vaadin.shared.ui.dd.VerticalDropLocation getVerticalDropLocation()Get the horizontal position of the dropped component within the underlying cell.- Returns:
- The drop location
 
- 
getOverIndexpublic int getOverIndex()The index over which the drop was made. If the drop was not made over any component then it returns -1.- Returns:
- The index of the component or -1 if over no component.
 
- 
getOverComponentpublic 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
 
 
-