public abstract class VLayoutSlot extends Object
Constructor and Description |
---|
VLayoutSlot(String baseClassName,
com.google.gwt.user.client.ui.Widget widget) |
Modifier and Type | Method and 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) |
public VLayoutSlot(String baseClassName, com.google.gwt.user.client.ui.Widget widget)
public VCaption getCaption()
public void setCaption(VCaption caption)
public AlignmentInfo getAlignment()
public com.google.gwt.user.client.ui.Widget getWidget()
public void setAlignment(AlignmentInfo alignment)
public void positionHorizontally(double currentLocation, double allocatedSpace, double marginRight)
public void positionVertically(double currentLocation, double allocatedSpace, double marginBottom)
protected void reportActualRelativeHeight(int allocatedHeight)
protected void reportActualRelativeWidth(int allocatedWidth)
public void positionInDirection(double currentLocation, double allocatedSpace, double endingMargin, boolean isVertical)
public int getWidgetSizeInDirection(boolean isVertical)
public int getUsedWidth()
public int getUsedHeight()
public int getUsedSizeInDirection(boolean isVertical)
protected abstract int getCaptionHeight()
protected abstract int getCaptionWidth()
public abstract int getWidgetHeight()
public abstract int getWidgetWidth()
public abstract boolean isUndefinedHeight()
public abstract boolean isUndefinedWidth()
public boolean isUndefinedInDirection(boolean isVertical)
public abstract boolean isRelativeHeight()
public abstract boolean isRelativeWidth()
public boolean isRelativeInDirection(boolean isVertical)
public com.google.gwt.user.client.Element getWrapperElement()
public void setExpandRatio(double expandRatio)
public double getExpandRatio()
Copyright © 2019 Vaadin Ltd. All rights reserved.