Class JmixFieldGroupLayoutConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.AbstractHasComponentsConnector
com.vaadin.client.ui.AbstractComponentContainerConnector
com.vaadin.client.ui.gridlayout.GridLayoutConnector
io.jmix.ui.widget.client.gridlayout.JmixGridLayoutConnector
io.jmix.ui.widget.client.fieldgrouplayout.JmixFieldGroupLayoutConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ComponentConnector, com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler, com.vaadin.client.DirectionalManagedLayout, com.vaadin.client.HasComponentsConnector, com.vaadin.client.HasWidget, com.vaadin.client.Paintable, 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.shared.Connector, Serializable

public class JmixFieldGroupLayoutConnector extends JmixGridLayoutConnector
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected static final String
     
    protected boolean
     

    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 com.google.gwt.dom.client.Element
    findCaptionTextChildElement(com.google.gwt.user.client.Element captionElement)
     
    protected int
    getMaxCaptionWidth(com.vaadin.client.ui.VGridLayout.Cell cell)
     
     
     
    protected boolean
    isCaptionInlineApplicable(com.vaadin.client.ui.VGridLayout.Cell cell)
     
    void
    onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent event)
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
     
    protected void
    resetIndicatorsWidth(com.vaadin.client.ui.VGridLayout.Cell[] column)
     
    protected void
     
    void
    updateCaption(com.vaadin.client.ComponentConnector childConnector)
     
    protected void
     
    protected void
    updateCaptionAlignments(int index, com.vaadin.client.ui.VGridLayout.Cell[] column)
     
    void
     
    protected void
    updateCaptionSizes(int index, com.vaadin.client.ui.VGridLayout.Cell[] column)
     

    Methods inherited from class io.jmix.ui.widget.client.gridlayout.JmixGridLayoutConnector

    isRequiredIndicatorVisible, updateFromUIDL

    Methods inherited from class com.vaadin.client.ui.gridlayout.GridLayoutConnector

    init, layoutHorizontally, layoutVertically, onUnregister, updateWidgetSize

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

    addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents

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

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

    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, getTooltipInfo, hasTooltip, 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, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
  • Field Details

    • CAPTIONTEXT_STYLENAME

      protected static final String CAPTIONTEXT_STYLENAME
      See Also:
    • ALIGN_RIGHT_STYLENAME

      protected static final String ALIGN_RIGHT_STYLENAME
      See Also:
    • initialStateChangePerformed

      protected boolean initialStateChangePerformed
  • Constructor Details

    • JmixFieldGroupLayoutConnector

      public JmixFieldGroupLayoutConnector()
  • Method Details

    • getWidget

      public JmixFieldGroupLayoutWidget getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget
      Overrides:
      getWidget in class JmixGridLayoutConnector
    • getState

      public JmixFieldGroupLayoutState 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.ui.gridlayout.GridLayoutConnector
    • setDefaultCaptionParameters

      protected void setDefaultCaptionParameters(JmixCaptionWidget widget)
      Overrides:
      setDefaultCaptionParameters in class JmixGridLayoutConnector
    • updateCaption

      public void updateCaption(com.vaadin.client.ComponentConnector childConnector)
      Specified by:
      updateCaption in interface com.vaadin.client.HasComponentsConnector
      Overrides:
      updateCaption in class JmixGridLayoutConnector
    • onStateChanged

      public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
      Specified by:
      onStateChanged in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
      Overrides:
      onStateChanged in class com.vaadin.client.ui.gridlayout.GridLayoutConnector
    • onConnectorHierarchyChange

      public void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent event)
      Specified by:
      onConnectorHierarchyChange in interface com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler
      Overrides:
      onConnectorHierarchyChange in class com.vaadin.client.ui.gridlayout.GridLayoutConnector
    • updateCaptionAlignments

      protected void updateCaptionAlignments()
    • updateCaptionAlignments

      protected void updateCaptionAlignments(int index, com.vaadin.client.ui.VGridLayout.Cell[] column)
    • updateCaptionSizes

      public void updateCaptionSizes()
    • updateCaptionSizes

      protected void updateCaptionSizes(int index, com.vaadin.client.ui.VGridLayout.Cell[] column)
    • getMaxCaptionWidth

      protected int getMaxCaptionWidth(com.vaadin.client.ui.VGridLayout.Cell cell)
    • findCaptionTextChildElement

      @Nullable protected com.google.gwt.dom.client.Element findCaptionTextChildElement(com.google.gwt.user.client.Element captionElement)
    • resetIndicatorsWidth

      protected void resetIndicatorsWidth(com.vaadin.client.ui.VGridLayout.Cell[] column)
    • isCaptionInlineApplicable

      protected boolean isCaptionInlineApplicable(com.vaadin.client.ui.VGridLayout.Cell cell)