com.vaadin.terminal.gwt.client.ui.layout
Class VLayoutSlot
java.lang.Object
com.vaadin.terminal.gwt.client.ui.layout.VLayoutSlot
- Direct Known Subclasses:
- ComponentConnectorLayoutSlot
public abstract class VLayoutSlot
- extends Object
Constructor Summary |
VLayoutSlot(String baseClassName,
com.google.gwt.user.client.ui.Widget widget)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VLayoutSlot
public VLayoutSlot(String baseClassName,
com.google.gwt.user.client.ui.Widget widget)
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()
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.