Package com.vaadin.client.ui.layout
Class ComponentConnectorLayoutSlot
- java.lang.Object
-
- com.vaadin.client.ui.layout.VLayoutSlot
-
- com.vaadin.client.ui.layout.ComponentConnectorLayoutSlot
-
public class ComponentConnectorLayoutSlot extends VLayoutSlot
-
-
Constructor Summary
Constructors Constructor Description ComponentConnectorLayoutSlot(String baseClassName, ComponentConnector child, ManagedLayout layout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetCaptionHeight()protected intgetCaptionWidth()ComponentConnectorgetChild()LayoutManagergetLayoutManager()intgetWidgetHeight()intgetWidgetWidth()booleanisRelativeHeight()booleanisRelativeWidth()booleanisUndefinedHeight()booleanisUndefinedWidth()protected voidreportActualRelativeHeight(int allocatedHeight)protected voidreportActualRelativeWidth(int allocatedWidth)voidsetCaption(VCaption caption)-
Methods inherited from class com.vaadin.client.ui.layout.VLayoutSlot
getAlignment, getCaption, getExpandRatio, getUsedHeight, getUsedSizeInDirection, getUsedWidth, getWidget, getWidgetSizeInDirection, getWrapperElement, isRelativeInDirection, isUndefinedInDirection, positionHorizontally, positionInDirection, positionVertically, setAlignment, setExpandRatio
-
-
-
-
Constructor Detail
-
ComponentConnectorLayoutSlot
public ComponentConnectorLayoutSlot(String baseClassName, ComponentConnector child, ManagedLayout layout)
-
-
Method Detail
-
getChild
public ComponentConnector getChild()
-
getCaptionHeight
protected int getCaptionHeight()
- Specified by:
getCaptionHeightin classVLayoutSlot
-
getCaptionWidth
protected int getCaptionWidth()
- Specified by:
getCaptionWidthin classVLayoutSlot
-
getLayoutManager
public LayoutManager getLayoutManager()
-
setCaption
public void setCaption(VCaption caption)
- Overrides:
setCaptionin classVLayoutSlot
-
reportActualRelativeHeight
protected void reportActualRelativeHeight(int allocatedHeight)
- Overrides:
reportActualRelativeHeightin classVLayoutSlot
-
reportActualRelativeWidth
protected void reportActualRelativeWidth(int allocatedWidth)
- Overrides:
reportActualRelativeWidthin classVLayoutSlot
-
getWidgetHeight
public int getWidgetHeight()
- Specified by:
getWidgetHeightin classVLayoutSlot
-
getWidgetWidth
public int getWidgetWidth()
- Specified by:
getWidgetWidthin classVLayoutSlot
-
isUndefinedHeight
public boolean isUndefinedHeight()
- Specified by:
isUndefinedHeightin classVLayoutSlot
-
isUndefinedWidth
public boolean isUndefinedWidth()
- Specified by:
isUndefinedWidthin classVLayoutSlot
-
isRelativeHeight
public boolean isRelativeHeight()
- Specified by:
isRelativeHeightin classVLayoutSlot
-
isRelativeWidth
public boolean isRelativeWidth()
- Specified by:
isRelativeWidthin classVLayoutSlot
-
-