Package io.jmix.ui.widget.client.table
Class JmixTableDragSourceExtensionConnector
java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.extensions.AbstractExtensionConnector
com.vaadin.client.extensions.DragSourceExtensionConnector
io.jmix.ui.widget.client.table.JmixTableDragSourceExtensionConnector
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler
,com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
,com.vaadin.client.ServerConnector
,com.vaadin.shared.Connector
,Serializable
public class JmixTableDragSourceExtensionConnector
extends com.vaadin.client.extensions.DragSourceExtensionConnector
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.client.extensions.DragSourceExtensionConnector
STYLE_SUFFIX_DRAGGED, STYLE_SUFFIX_DRAGSOURCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDraggable
(com.google.gwt.dom.client.Element element) createDataTransferData
(com.google.gwt.dom.client.NativeEvent dragStartEvent) protected void
extend
(com.vaadin.client.ServerConnector target) protected String
getDraggedRowKey
(com.google.gwt.dom.client.TableRowElement row) protected TableWidget
protected void
protected boolean
isElementContainsClass
(com.google.gwt.dom.client.Element element, String className) protected boolean
isRowSelected
(com.google.gwt.dom.client.TableRowElement row) void
protected void
removeDraggable
(com.google.gwt.dom.client.Element element) Methods inherited from class com.vaadin.client.extensions.DragSourceExtensionConnector
addDraggedStyle, addDragListeners, fixDragImageOffsetsForDesktop, fixDragImageTransformForMobile, getDraggableElement, getDragSourceWidget, getDropEffect, getState, getStyleNameDraggable, getStylePrimaryName, isAndoidChrome, isNativeDragEvent, onDragEnd, onDragStart, removeDraggedStyle, removeDragListeners, sendDragEndEventToServer, sendDragStartEventToServer, setDragImage
Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector
setParent
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, onStateChanged, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledState
-
Field Details
-
afterBodyUpdateHandler
-
-
Constructor Details
-
JmixTableDragSourceExtensionConnector
public JmixTableDragSourceExtensionConnector()
-
-
Method Details
-
extend
protected void extend(com.vaadin.client.ServerConnector target) - Overrides:
extend
in classcom.vaadin.client.extensions.DragSourceExtensionConnector
-
addDraggable
protected void addDraggable(com.google.gwt.dom.client.Element element) - Overrides:
addDraggable
in classcom.vaadin.client.extensions.DragSourceExtensionConnector
-
initDraggableRows
protected void initDraggableRows() -
isElementContainsClass
protected boolean isElementContainsClass(com.google.gwt.dom.client.Element element, String className) -
removeDraggable
protected void removeDraggable(com.google.gwt.dom.client.Element element) - Overrides:
removeDraggable
in classcom.vaadin.client.extensions.DragSourceExtensionConnector
-
onUnregister
public void onUnregister()- Specified by:
onUnregister
in interfacecom.vaadin.client.ServerConnector
- Overrides:
onUnregister
in classcom.vaadin.client.extensions.DragSourceExtensionConnector
-
createDataTransferData
protected Map<String,String> createDataTransferData(com.google.gwt.dom.client.NativeEvent dragStartEvent) - Overrides:
createDataTransferData
in classcom.vaadin.client.extensions.DragSourceExtensionConnector
-
isRowSelected
protected boolean isRowSelected(com.google.gwt.dom.client.TableRowElement row) -
getDraggedRowKey
-
getAllVisibleSelectedRows
-
getTableWidget
-