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

java.lang.Object
  extended by com.vaadin.terminal.gwt.client.ui.layout.VLayoutSlot
      extended by com.vaadin.terminal.gwt.client.ui.layout.ComponentConnectorLayoutSlot

public class ComponentConnectorLayoutSlot
extends VLayoutSlot


Constructor Summary
ComponentConnectorLayoutSlot(String baseClassName, ComponentConnector child, ManagedLayout layout)
           
 
Method Summary
protected  int getCaptionHeight()
           
protected  int getCaptionWidth()
           
 ComponentConnector getChild()
           
 LayoutManager getLayoutManager()
           
 int getWidgetHeight()
           
 int getWidgetWidth()
           
 boolean isRelativeHeight()
           
 boolean isRelativeWidth()
           
 boolean isUndefinedHeight()
           
 boolean isUndefinedWidth()
           
protected  void reportActualRelativeHeight(int allocatedHeight)
           
protected  void reportActualRelativeWidth(int allocatedWidth)
           
 void setCaption(VCaption caption)
           
 
Methods inherited from class com.vaadin.terminal.gwt.client.ui.layout.VLayoutSlot
getAlignment, getCaption, getExpandRatio, getUsedHeight, getUsedSizeInDirection, getUsedWidth, getWidget, getWidgetSizeInDirection, getWrapperElement, isRelativeInDirection, isUndefinedInDirection, positionHorizontally, positionInDirection, positionVertically, setAlignment, setExpandRatio
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentConnectorLayoutSlot

public ComponentConnectorLayoutSlot(String baseClassName,
                                    ComponentConnector child,
                                    ManagedLayout layout)
Method Detail

getChild

public ComponentConnector getChild()

getCaptionHeight

protected int getCaptionHeight()
Specified by:
getCaptionHeight in class VLayoutSlot

getCaptionWidth

protected int getCaptionWidth()
Specified by:
getCaptionWidth in class VLayoutSlot

getLayoutManager

public LayoutManager getLayoutManager()

setCaption

public void setCaption(VCaption caption)
Overrides:
setCaption in class VLayoutSlot

reportActualRelativeHeight

protected void reportActualRelativeHeight(int allocatedHeight)
Overrides:
reportActualRelativeHeight in class VLayoutSlot

reportActualRelativeWidth

protected void reportActualRelativeWidth(int allocatedWidth)
Overrides:
reportActualRelativeWidth in class VLayoutSlot

getWidgetHeight

public int getWidgetHeight()
Specified by:
getWidgetHeight in class VLayoutSlot

getWidgetWidth

public int getWidgetWidth()
Specified by:
getWidgetWidth in class VLayoutSlot

isUndefinedHeight

public boolean isUndefinedHeight()
Specified by:
isUndefinedHeight in class VLayoutSlot

isUndefinedWidth

public boolean isUndefinedWidth()
Specified by:
isUndefinedWidth in class VLayoutSlot

isRelativeHeight

public boolean isRelativeHeight()
Specified by:
isRelativeHeight in class VLayoutSlot

isRelativeWidth

public boolean isRelativeWidth()
Specified by:
isRelativeWidth in class VLayoutSlot


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