Package com.vaadin.client.ui.layout
Class VLayoutSlot
- java.lang.Object
-
- com.vaadin.client.ui.layout.VLayoutSlot
-
- Direct Known Subclasses:
ComponentConnectorLayoutSlot
public abstract class VLayoutSlot extends Object
-
-
Constructor Summary
Constructors Constructor Description VLayoutSlot(String baseClassName, com.google.gwt.user.client.ui.Widget widget)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AlignmentInfogetAlignment()VCaptiongetCaption()protected abstract intgetCaptionHeight()protected abstract intgetCaptionWidth()doublegetExpandRatio()intgetUsedHeight()intgetUsedSizeInDirection(boolean isVertical)intgetUsedWidth()com.google.gwt.user.client.ui.WidgetgetWidget()abstract intgetWidgetHeight()intgetWidgetSizeInDirection(boolean isVertical)abstract intgetWidgetWidth()com.google.gwt.user.client.ElementgetWrapperElement()abstract booleanisRelativeHeight()booleanisRelativeInDirection(boolean isVertical)abstract booleanisRelativeWidth()abstract booleanisUndefinedHeight()booleanisUndefinedInDirection(boolean isVertical)abstract booleanisUndefinedWidth()voidpositionHorizontally(double currentLocation, double allocatedSpace, double marginRight)voidpositionInDirection(double currentLocation, double allocatedSpace, double endingMargin, boolean isVertical)voidpositionVertically(double currentLocation, double allocatedSpace, double marginBottom)protected voidreportActualRelativeHeight(int allocatedHeight)protected voidreportActualRelativeWidth(int allocatedWidth)voidsetAlignment(AlignmentInfo alignment)voidsetCaption(VCaption caption)voidsetExpandRatio(double expandRatio)
-
-
-
Constructor Detail
-
VLayoutSlot
public VLayoutSlot(String baseClassName, com.google.gwt.user.client.ui.Widget widget)
-
-
Method Detail
-
getCaption
public VCaption getCaption()
-
setCaption
public void setCaption(VCaption caption)
-
getAlignment
public AlignmentInfo getAlignment()
-
getWidget
public com.google.gwt.user.client.ui.Widget getWidget()
-
setAlignment
public void setAlignment(AlignmentInfo alignment)
-
positionHorizontally
public void positionHorizontally(double currentLocation, double allocatedSpace, double marginRight)
-
positionVertically
public void positionVertically(double currentLocation, double allocatedSpace, double marginBottom)
-
reportActualRelativeHeight
protected void reportActualRelativeHeight(int allocatedHeight)
-
reportActualRelativeWidth
protected void reportActualRelativeWidth(int allocatedWidth)
-
positionInDirection
public void positionInDirection(double currentLocation, double allocatedSpace, double endingMargin, boolean isVertical)
-
getWidgetSizeInDirection
public int getWidgetSizeInDirection(boolean isVertical)
-
getUsedWidth
public int getUsedWidth()
-
getUsedHeight
public int getUsedHeight()
-
getUsedSizeInDirection
public int getUsedSizeInDirection(boolean isVertical)
-
getCaptionHeight
protected abstract int getCaptionHeight()
-
getCaptionWidth
protected abstract int getCaptionWidth()
-
getWidgetHeight
public abstract int getWidgetHeight()
-
getWidgetWidth
public abstract int getWidgetWidth()
-
isUndefinedHeight
public abstract boolean isUndefinedHeight()
-
isUndefinedWidth
public abstract boolean isUndefinedWidth()
-
isUndefinedInDirection
public boolean isUndefinedInDirection(boolean isVertical)
-
isRelativeHeight
public abstract boolean isRelativeHeight()
-
isRelativeWidth
public abstract boolean isRelativeWidth()
-
isRelativeInDirection
public boolean isRelativeInDirection(boolean isVertical)
-
getWrapperElement
public com.google.gwt.user.client.Element getWrapperElement()
-
setExpandRatio
public void setExpandRatio(double expandRatio)
-
getExpandRatio
public double getExpandRatio()
-
-