We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.client.ui.layout.
Class VLayoutSlot
- java.lang.Object
-
- com.vaadin.client.ui.layout.VLayoutSlot
-
Direct Known Subclasses:
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 Modifier and Type Method Description AlignmentInfo
getAlignment()
VCaption
getCaption()
protected abstract int
getCaptionHeight()
protected abstract int
getCaptionWidth()
double
getExpandRatio()
int
getUsedHeight()
int
getUsedSizeInDirection(boolean isVertical)
int
getUsedWidth()
com.google.gwt.user.client.ui.Widget
getWidget()
abstract int
getWidgetHeight()
int
getWidgetSizeInDirection(boolean isVertical)
abstract int
getWidgetWidth()
com.google.gwt.user.client.Element
getWrapperElement()
abstract boolean
isRelativeHeight()
boolean
isRelativeInDirection(boolean isVertical)
abstract boolean
isRelativeWidth()
abstract boolean
isUndefinedHeight()
boolean
isUndefinedInDirection(boolean isVertical)
abstract boolean
isUndefinedWidth()
void
positionHorizontally(double currentLocation, double allocatedSpace, double marginRight)
void
positionInDirection(double currentLocation, double allocatedSpace, double endingMargin, boolean isVertical)
void
positionVertically(double currentLocation, double allocatedSpace, double marginBottom)
protected void
reportActualRelativeHeight(int allocatedHeight)
protected void
reportActualRelativeWidth(int allocatedWidth)
void
setAlignment(AlignmentInfo alignment)
void
setCaption(VCaption caption)
void
setExpandRatio(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()
-
-