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
    Modifier and Type
    Field
    Description
     

    Fields inherited from class com.vaadin.client.extensions.DragSourceExtensionConnector

    STYLE_SUFFIX_DRAGGED, STYLE_SUFFIX_DRAGSOURCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addDraggable(com.google.gwt.dom.client.Element element)
     
    protected Map<String,String>
    createDataTransferData(com.google.gwt.dom.client.NativeEvent dragStartEvent)
     
    protected void
    extend(com.vaadin.client.ServerConnector target)
     
    protected List<String>
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • JmixTableDragSourceExtensionConnector

      public JmixTableDragSourceExtensionConnector()
  • Method Details

    • extend

      protected void extend(com.vaadin.client.ServerConnector target)
      Overrides:
      extend in class com.vaadin.client.extensions.DragSourceExtensionConnector
    • addDraggable

      protected void addDraggable(com.google.gwt.dom.client.Element element)
      Overrides:
      addDraggable in class com.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 class com.vaadin.client.extensions.DragSourceExtensionConnector
    • onUnregister

      public void onUnregister()
      Specified by:
      onUnregister in interface com.vaadin.client.ServerConnector
      Overrides:
      onUnregister in class com.vaadin.client.extensions.DragSourceExtensionConnector
    • createDataTransferData

      protected Map<String,String> createDataTransferData(com.google.gwt.dom.client.NativeEvent dragStartEvent)
      Overrides:
      createDataTransferData in class com.vaadin.client.extensions.DragSourceExtensionConnector
    • isRowSelected

      protected boolean isRowSelected(com.google.gwt.dom.client.TableRowElement row)
    • getDraggedRowKey

      protected String getDraggedRowKey(com.google.gwt.dom.client.TableRowElement row)
    • getAllVisibleSelectedRows

      protected List<String> getAllVisibleSelectedRows()
    • getTableWidget

      @Nullable protected TableWidget getTableWidget()