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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.google.gwt.dom.client.Elementprotected com.google.gwt.dom.client.Elementprotected static final Stringprotected com.google.gwt.dom.client.Elementprotected com.google.gwt.dom.client.Elementprotected booleanFields inherited from class com.vaadin.client.ui.layout.VLayoutSlot
wrapper -
Constructor Summary
ConstructorsConstructorDescriptionJmixFieldGroupLayoutComponentSlot(String baseClassName, com.vaadin.client.ComponentConnector child, com.vaadin.client.ui.ManagedLayout layout) -
Method Summary
Modifier and TypeMethodDescriptionvoidcaptionUpdated(JmixCaptionWidget captionWidget) protected com.google.gwt.dom.client.Elementintintintprotected booleanhasContextHelpIconListeners(com.vaadin.shared.AbstractComponentState state) protected booleanprotected voidmoveIndicatorsRight(JmixCaptionWidget captionWidget) voidonBrowserEvent(com.google.gwt.user.client.Event event) voidpositionHorizontally(double currentLocation, double allocatedSpace, double marginRight) voidpositionVertically(double currentLocation, double allocatedSpace, double marginBottom) voidvoidsetCaption(com.vaadin.client.VCaption caption) voidsetCaptionInline(boolean useInlineCaption) voidsetIndicatorsWidth(String width) Methods inherited from class io.jmix.ui.widget.client.gridlayout.JmixGridLayoutSlot
findElementByClassName, findLinkButtonCaptionElement, getButtonHeight, getWidgetHeight, getWidgetHeightMethods inherited from class com.vaadin.client.ui.layout.ComponentConnectorLayoutSlot
getCaptionHeight, getCaptionWidth, getChild, getLayout, getLayoutManager, getWidgetWidth, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, reportActualRelativeHeight, reportActualRelativeWidthMethods inherited from class com.vaadin.client.ui.layout.VLayoutSlot
getAlignment, getCaption, getExpandRatio, getUsedSizeInDirection, getWidget, getWidgetSizeInDirection, getWrapperElement, isRelativeInDirection, isUndefinedInDirection, parsePercent, positionInDirection, setAlignment, setExpandRatio
-
Field Details
-
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
- Specified by:
captionUpdatedin interfaceCaptionHolder
-
setCaption
public void setCaption(com.vaadin.client.VCaption caption) - Overrides:
setCaptionin classcom.vaadin.client.ui.layout.ComponentConnectorLayoutSlot
-
positionHorizontally
public void positionHorizontally(double currentLocation, double allocatedSpace, double marginRight) - Overrides:
positionHorizontallyin classcom.vaadin.client.ui.layout.VLayoutSlot
-
positionVertically
public void positionVertically(double currentLocation, double allocatedSpace, double marginBottom) - Overrides:
positionVerticallyin classcom.vaadin.client.ui.layout.VLayoutSlot
-
getUsedWidth
public int getUsedWidth()- Overrides:
getUsedWidthin classcom.vaadin.client.ui.layout.VLayoutSlot
-
getUsedHeight
public int getUsedHeight()- Overrides:
getUsedHeightin classcom.vaadin.client.ui.layout.VLayoutSlot
-
getIndicatorsWidth
public int getIndicatorsWidth() -
setIndicatorsWidth
-
resetIndicatorsWidth
public void resetIndicatorsWidth() -
moveIndicatorsRight
-
createRightCaption
protected com.google.gwt.dom.client.Element createRightCaption() -
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event) - Specified by:
onBrowserEventin interfacecom.google.gwt.user.client.EventListener
-