Class JmixGridConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.AbstractFieldConnector
com.vaadin.client.connectors.AbstractListingConnector
com.vaadin.client.connectors.grid.GridConnector
io.jmix.ui.widget.client.grid.JmixGridConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ComponentConnector, com.vaadin.client.connectors.data.HasDataSource, com.vaadin.client.DeferredWorker, com.vaadin.client.HasComponentsConnector, com.vaadin.client.HasWidget, com.vaadin.client.ServerConnector, com.vaadin.client.ui.HasContextHelpConnector, com.vaadin.client.ui.HasErrorIndicator, com.vaadin.client.ui.HasRequiredIndicator, com.vaadin.client.ui.ManagedLayout, com.vaadin.client.ui.SimpleManagedLayout, com.vaadin.shared.Connector, Serializable

public class JmixGridConnector extends com.vaadin.client.connectors.grid.GridConnector
See Also:
  • Field Summary

    Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector

    SIGNIFICANT_MOVE_THRESHOLD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    protected void
     
    protected boolean
    isSelectionColumn(com.google.gwt.dom.client.EventTarget eventTarget)
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent event)
     
    protected void
    sendContextClickEvent(com.vaadin.shared.MouseEventDetails details, com.google.gwt.dom.client.EventTarget eventTarget)
     
    protected void
     

    Methods inherited from class com.vaadin.client.connectors.grid.GridConnector

    addColumn, addConnectorHierarchyChangeHandler, detailsRefreshed, getChildComponents, getColumn, getColumnId, getTooltipInfo, hasTooltip, isWorkPending, layout, onColumnRendererChanged, onUnregister, removeColumnMapping, setChildComponents, setDataSource, singleDetailsOpened, updateCaption

    Methods inherited from class com.vaadin.client.connectors.AbstractListingConnector

    getDataSource, getRowData, getRowKey, isRowSelected

    Methods inherited from class com.vaadin.client.ui.AbstractFieldConnector

    isReadOnly, isRequiredIndicatorVisible, updateWidgetStyleNames

    Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector

    contextHelpIconClick, contextHelpIconClick, createWidget, delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, hasContextHelpIconListeners, isContextHelpIconEnabled, isContextHelpTooltipEnabled, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, registerTouchHandlers, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize

    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, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.client.ComponentConnector

    delegateCaptionHandling, flush, getLayoutManager, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId

    Methods inherited from interface com.vaadin.client.ServerConnector

    addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
  • Constructor Details

    • JmixGridConnector

      public JmixGridConnector()
  • Method Details

    • getWidget

      public JmixGridWidget getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget
      Overrides:
      getWidget in class com.vaadin.client.connectors.grid.GridConnector
    • getState

      public JmixGridState getState()
      Specified by:
      getState in interface com.vaadin.client.ComponentConnector
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class com.vaadin.client.connectors.grid.GridConnector
    • onStateChanged

      public void onStateChanged(com.vaadin.client.communication.StateChangeEvent event)
      Specified by:
      onStateChanged in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
      Overrides:
      onStateChanged in class com.vaadin.client.connectors.grid.GridConnector
    • updateColumns

      protected void updateColumns()
      Overrides:
      updateColumns in class com.vaadin.client.connectors.grid.GridConnector
    • sendContextClickEvent

      protected void sendContextClickEvent(com.vaadin.shared.MouseEventDetails details, com.google.gwt.dom.client.EventTarget eventTarget)
      Overrides:
      sendContextClickEvent in class com.vaadin.client.connectors.grid.GridConnector
    • isSelectionColumn

      protected boolean isSelectionColumn(com.google.gwt.dom.client.EventTarget eventTarget)
    • init

      protected void init()
      Overrides:
      init in class com.vaadin.client.connectors.grid.GridConnector