Class DDGridLayout.GridLayoutTransferable
java.lang.Object
com.vaadin.event.TransferableImpl
io.jmix.ui.widget.addon.dragdroplayouts.events.LayoutBoundTransferable
io.jmix.ui.widget.addon.dragdroplayouts.DDGridLayout.GridLayoutTransferable
- All Implemented Interfaces:
com.vaadin.event.Transferable
,Serializable
- Enclosing class:
- DDGridLayout
Contains the transferable details when dragging from a GridLayout.
- See Also:
-
Constructor Summary
ConstructorDescriptionGridLayoutTransferable
(com.vaadin.ui.Component sourceComponent, Map<String, Object> rawVariables) Constructor -
Method Summary
Modifier and TypeMethodDescriptionint
The column from where the component was draggedint
The row from where the component was draggedMethods inherited from class io.jmix.ui.widget.addon.dragdroplayouts.events.LayoutBoundTransferable
getComponent, getMouseDownEvent
Methods inherited from class com.vaadin.event.TransferableImpl
getData, getDataFlavors, getSourceComponent, setData
-
Constructor Details
-
Method Details
-
getSourceRow
public int getSourceRow()The row from where the component was dragged- Returns:
- The row index
-
getSourceColumn
public int getSourceColumn()The column from where the component was dragged- Returns:
- The column index
-