com.extjs.gxt.ui.client.widget.layout
Class ColumnLayout

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.widget.Layout
          extended by com.extjs.gxt.ui.client.widget.layout.ColumnLayout
All Implemented Interfaces:
Observable

public class ColumnLayout
extends Layout

This is the layout style of choice for creating structural layouts in a multi-column format where the width of each column can be specified as a percentage or fixed width, but the height is allowed to vary based on the content.

ColumnLayout supports a ColumnData layout object. The layout will use the width (if pixels) or columnWidth (if percent) of each panel during layout to determine how to size each panel. If width or columnWidth is not specified for a given panel, its width will default to the panel's width (or auto).

See Also:
ColumnData
 

Constructor Summary
ColumnLayout()
           
 
Method Summary
 boolean isAdjustForScroll()
          Returns true if ajust for scroll is enabled.
 void setAdjustForScroll(boolean adjustForScroll)
          True to ajust the container width calculations to account for the scroll bar (defaults to false).
 
Methods inherited from class com.extjs.gxt.ui.client.widget.Layout
getExtraStyle, getResizeDelay, isRenderHidden, layout, setContainer, setExtraStyle, setRenderHidden, setResizeDelay
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable
addListener, fireEvent, fireEvent, getFiresEvents, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnLayout

public ColumnLayout()
Method Detail

isAdjustForScroll

public boolean isAdjustForScroll()
Returns true if ajust for scroll is enabled.

Returns:
the adjust for scroll state

setAdjustForScroll

public void setAdjustForScroll(boolean adjustForScroll)
True to ajust the container width calculations to account for the scroll bar (defaults to false).

Parameters:
adjustForScroll - the adjust for scroll state