com.extjs.gxt.ui.client.widget.layout
Class ColumnLayout
java.lang.Object
com.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.widget.Layout
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-
-

|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnLayout
public ColumnLayout()
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