public class JmixFieldGroupLayoutComponentSlot extends JmixGridLayoutSlot implements CaptionHolder, com.google.gwt.user.client.EventListener
Modifier and Type | Field and Description |
---|---|
protected com.google.gwt.dom.client.Element |
contextHelpIndicatorElement |
protected com.google.gwt.dom.client.Element |
errorIndicatorElement |
protected static java.lang.String |
INDICATORS_CLASSNAME |
protected com.google.gwt.dom.client.Element |
requiredElement |
protected com.google.gwt.dom.client.Element |
rightCaption |
protected boolean |
useInlineCaption |
Constructor and Description |
---|
JmixFieldGroupLayoutComponentSlot(java.lang.String baseClassName,
com.vaadin.client.ComponentConnector child,
com.vaadin.client.ui.ManagedLayout layout) |
Modifier and Type | Method and Description |
---|---|
void |
captionUpdated(JmixCaptionWidget captionWidget) |
protected com.google.gwt.dom.client.Element |
createRightCaption() |
int |
getIndicatorsWidth() |
int |
getUsedHeight() |
int |
getUsedWidth() |
protected boolean |
hasContextHelpIconListeners(com.vaadin.shared.AbstractComponentState state) |
protected boolean |
isCaptionInline() |
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 |
resetIndicatorsWidth() |
void |
setCaption(com.vaadin.client.VCaption caption) |
void |
setCaptionInline(boolean useInlineCaption) |
void |
setIndicatorsWidth(java.lang.String width) |
findElementByClassName, findLinkButtonCaptionElement, getButtonHeight, getWidgetHeight, getWidgetHeight
getCaptionHeight, getCaptionWidth, getChild, getLayout, getLayoutManager, getWidgetWidth, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, reportActualRelativeHeight, reportActualRelativeWidth
getAlignment, getCaption, getExpandRatio, getUsedSizeInDirection, getWidget, getWidgetSizeInDirection, getWrapperElement, isRelativeInDirection, isUndefinedInDirection, parsePercent, positionInDirection, setAlignment, setExpandRatio
protected static final java.lang.String INDICATORS_CLASSNAME
protected com.google.gwt.dom.client.Element requiredElement
protected com.google.gwt.dom.client.Element contextHelpIndicatorElement
protected com.google.gwt.dom.client.Element errorIndicatorElement
protected com.google.gwt.dom.client.Element rightCaption
protected boolean useInlineCaption
public JmixFieldGroupLayoutComponentSlot(java.lang.String baseClassName, com.vaadin.client.ComponentConnector child, com.vaadin.client.ui.ManagedLayout layout)
protected boolean isCaptionInline()
public void setCaptionInline(boolean useInlineCaption)
public void captionUpdated(JmixCaptionWidget captionWidget)
captionUpdated
in interface CaptionHolder
public void setCaption(com.vaadin.client.VCaption caption)
setCaption
in class com.vaadin.client.ui.layout.ComponentConnectorLayoutSlot
public void positionHorizontally(double currentLocation, double allocatedSpace, double marginRight)
positionHorizontally
in class com.vaadin.client.ui.layout.VLayoutSlot
public void positionVertically(double currentLocation, double allocatedSpace, double marginBottom)
positionVertically
in class com.vaadin.client.ui.layout.VLayoutSlot
public int getUsedWidth()
getUsedWidth
in class com.vaadin.client.ui.layout.VLayoutSlot
public int getUsedHeight()
getUsedHeight
in class com.vaadin.client.ui.layout.VLayoutSlot
public int getIndicatorsWidth()
public void setIndicatorsWidth(java.lang.String width)
public void resetIndicatorsWidth()
protected void moveIndicatorsRight(JmixCaptionWidget captionWidget)
protected com.google.gwt.dom.client.Element createRightCaption()
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
protected boolean hasContextHelpIconListeners(com.vaadin.shared.AbstractComponentState state)