Class JmixFieldGroupLayoutComponentSlot

java.lang.Object
com.vaadin.client.ui.layout.VLayoutSlot
com.vaadin.client.ui.layout.ComponentConnectorLayoutSlot
io.jmix.ui.widget.client.gridlayout.JmixGridLayoutSlot
io.jmix.ui.widget.client.fieldgrouplayout.JmixFieldGroupLayoutComponentSlot
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, CaptionHolder

public class JmixFieldGroupLayoutComponentSlot extends JmixGridLayoutSlot implements CaptionHolder, com.google.gwt.user.client.EventListener
Component slot with horizontal layout for caption and component
  • Field Details

    • INDICATORS_CLASSNAME

      protected static final String INDICATORS_CLASSNAME
      See Also:
    • requiredElement

      protected com.google.gwt.dom.client.Element requiredElement
    • contextHelpIndicatorElement

      protected com.google.gwt.dom.client.Element contextHelpIndicatorElement
    • errorIndicatorElement

      protected com.google.gwt.dom.client.Element errorIndicatorElement
    • rightCaption

      protected com.google.gwt.dom.client.Element rightCaption
    • useInlineCaption

      protected boolean useInlineCaption
  • Constructor Details

    • JmixFieldGroupLayoutComponentSlot

      public JmixFieldGroupLayoutComponentSlot(String baseClassName, com.vaadin.client.ComponentConnector child, com.vaadin.client.ui.ManagedLayout layout)
  • Method Details

    • isCaptionInline

      protected boolean isCaptionInline()
    • setCaptionInline

      public void setCaptionInline(boolean useInlineCaption)
    • captionUpdated

      public void captionUpdated(JmixCaptionWidget captionWidget)
      Specified by:
      captionUpdated in interface CaptionHolder
    • setCaption

      public void setCaption(com.vaadin.client.VCaption caption)
      Overrides:
      setCaption in class com.vaadin.client.ui.layout.ComponentConnectorLayoutSlot
    • positionHorizontally

      public void positionHorizontally(double currentLocation, double allocatedSpace, double marginRight)
      Overrides:
      positionHorizontally in class com.vaadin.client.ui.layout.VLayoutSlot
    • positionVertically

      public void positionVertically(double currentLocation, double allocatedSpace, double marginBottom)
      Overrides:
      positionVertically in class com.vaadin.client.ui.layout.VLayoutSlot
    • getUsedWidth

      public int getUsedWidth()
      Overrides:
      getUsedWidth in class com.vaadin.client.ui.layout.VLayoutSlot
    • getUsedHeight

      public int getUsedHeight()
      Overrides:
      getUsedHeight in class com.vaadin.client.ui.layout.VLayoutSlot
    • getIndicatorsWidth

      public int getIndicatorsWidth()
    • setIndicatorsWidth

      public void setIndicatorsWidth(String width)
    • resetIndicatorsWidth

      public void resetIndicatorsWidth()
    • moveIndicatorsRight

      protected void moveIndicatorsRight(JmixCaptionWidget captionWidget)
    • createRightCaption

      protected com.google.gwt.dom.client.Element createRightCaption()
    • onBrowserEvent

      public void onBrowserEvent(com.google.gwt.user.client.Event event)
      Specified by:
      onBrowserEvent in interface com.google.gwt.user.client.EventListener
    • hasContextHelpIconListeners

      protected boolean hasContextHelpIconListeners(com.vaadin.shared.AbstractComponentState state)