com.gwtext.client.widgets.layout
Class FitLayout

java.lang.Object
  extended by com.gwtext.client.widgets.layout.ContainerLayout
      extended by com.gwtext.client.widgets.layout.FitLayout
Direct Known Subclasses:
AccordionLayout, CardLayout

public class FitLayout
extends ContainerLayout

This is a base class for layouts that contain a single item that automatically expands to fill the layout's container.

FitLayout does not have any direct config options (other than inherited ones). To fit a panel to a container using FitLayout, simply set layout to FitLayout on the container and add a single panel to it. If the container has multiple panels, only the first one will be displayed.


Field Summary
 
Fields inherited from class com.gwtext.client.widgets.layout.ContainerLayout
configJS
 
Constructor Summary
FitLayout()
           
 
Method Summary
protected  com.google.gwt.core.client.JavaScriptObject create(com.google.gwt.core.client.JavaScriptObject config)
           
 
Methods inherited from class com.gwtext.client.widgets.layout.ContainerLayout
getActiveItem, getContainerAttributes, getJsObj, getSpacing, setExtraCls, setRenderHidden, setSpacing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitLayout

public FitLayout()
Method Detail

create

protected com.google.gwt.core.client.JavaScriptObject create(com.google.gwt.core.client.JavaScriptObject config)
Overrides:
create in class ContainerLayout