com.vaadin.terminal.gwt.client.ui.layout
Class VLayoutSlot

java.lang.Object
  extended by 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)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.