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
Modifier and TypeFieldDescriptionprotected com.google.gwt.dom.client.Element
protected com.google.gwt.dom.client.Element
protected static final String
protected com.google.gwt.dom.client.Element
protected com.google.gwt.dom.client.Element
protected boolean
Fields inherited from class com.vaadin.client.ui.layout.VLayoutSlot
wrapper
-
Constructor Summary
ConstructorDescriptionJmixFieldGroupLayoutComponentSlot
(String baseClassName, com.vaadin.client.ComponentConnector child, com.vaadin.client.ui.ManagedLayout layout) -
Method Summary
Modifier and TypeMethodDescriptionvoid
captionUpdated
(JmixCaptionWidget captionWidget) protected com.google.gwt.dom.client.Element
int
int
int
protected boolean
hasContextHelpIconListeners
(com.vaadin.shared.AbstractComponentState state) protected boolean
protected void
moveIndicatorsRight
(JmixCaptionWidget captionWidget) void
onBrowserEvent
(com.google.gwt.user.client.Event event) void
positionHorizontally
(double currentLocation, double allocatedSpace, double marginRight) void
positionVertically
(double currentLocation, double allocatedSpace, double marginBottom) void
void
setCaption
(com.vaadin.client.VCaption caption) void
setCaptionInline
(boolean useInlineCaption) void
setIndicatorsWidth
(String width) Methods inherited from class io.jmix.ui.widget.client.gridlayout.JmixGridLayoutSlot
findElementByClassName, findLinkButtonCaptionElement, getButtonHeight, getWidgetHeight, getWidgetHeight
Methods inherited from class com.vaadin.client.ui.layout.ComponentConnectorLayoutSlot
getCaptionHeight, getCaptionWidth, getChild, getLayout, getLayoutManager, getWidgetWidth, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, reportActualRelativeHeight, reportActualRelativeWidth
Methods 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) -
setCaption
public void setCaption(com.vaadin.client.VCaption caption) - Overrides:
setCaption
in classcom.vaadin.client.ui.layout.ComponentConnectorLayoutSlot
-
positionHorizontally
public void positionHorizontally(double currentLocation, double allocatedSpace, double marginRight) - Overrides:
positionHorizontally
in classcom.vaadin.client.ui.layout.VLayoutSlot
-
positionVertically
public void positionVertically(double currentLocation, double allocatedSpace, double marginBottom) - Overrides:
positionVertically
in classcom.vaadin.client.ui.layout.VLayoutSlot
-
getUsedWidth
public int getUsedWidth()- Overrides:
getUsedWidth
in classcom.vaadin.client.ui.layout.VLayoutSlot
-
getUsedHeight
public int getUsedHeight()- Overrides:
getUsedHeight
in classcom.vaadin.client.ui.layout.VLayoutSlot
-
getIndicatorsWidth
public int getIndicatorsWidth() -
setIndicatorsWidth
-
resetIndicatorsWidth
public void resetIndicatorsWidth() -
createRightCaption
protected com.google.gwt.dom.client.Element createRightCaption() -
onBrowserEvent
public void onBrowserEvent(com.google.gwt.user.client.Event event) - Specified by:
onBrowserEvent
in interfacecom.google.gwt.user.client.EventListener
-