|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gwtext.client.core.JsObject
com.gwtext.client.core.BaseConfig
com.gwtext.client.widgets.layout.LayoutData
com.gwtext.client.widgets.layout.BorderLayoutData
public class BorderLayoutData
Additional layout data associated with a BorderLayout.
BorderLayout| Field Summary |
|---|
| Fields inherited from class com.gwtext.client.core.JsObject |
|---|
jsObj |
| Constructor Summary | |
|---|---|
BorderLayoutData(RegionPosition region)
Create a new instance. |
|
BorderLayoutData(RegionPosition region,
Margins margins)
|
|
| Method Summary | |
|---|---|
void |
setAnimFloat(boolean animFloat)
When a collapsed region's bar is clicked, the region's panel will be displayed as a floated panel that will close again once the user mouses out of that panel (or clicks out if autoHide = false). |
void |
setAutoHide(boolean autoHide)
When a collapsed region's bar is clicked, the region's panel will be displayed as a floated panel. |
void |
setCMargins(int top,
int left,
int right,
int bottom)
|
void |
setCMargins(Margins cMargins)
The margins to apply to the region's collapsed element. |
void |
setCollapseModeMini(boolean miniMode)
By default, collapsible regions are collapsed by clicking the expand/collapse tool button that renders into the region's title bar. |
void |
setCollapsibleSplitTip(java.lang.String collapsibleSplitTip)
The tooltip to display when the user hovers over a collapsible region's split bar (defaults to "Drag to resize. |
void |
setFloatable(boolean floatable)
True to allow clicking a collapsed region's bar to display the region's panel floated above the layout, false to force the user to fully expand a collapsed region by clicking the expand button to see it again (defaults to true). |
void |
setMargins(int top,
int left,
int right,
int bottom)
The margins to apply to the region. |
void |
setMargins(Margins margins)
|
void |
setMaxSize(int maxSize)
When setSplit(boolean) is true, it is common to specify a minSize and maxSize for the region. |
void |
setMinHeight(int minHeight)
The minimum allowable height in pixels for this region (defaults to 50). |
void |
setMinSize(int minSize)
When setSplit(boolean) is true, it is common to specify a minSize and maxSize for the region. |
void |
setMinWidth(int minWidth)
The minimum allowable width in pixels for this region (defaults to 50). |
void |
setRegion(RegionPosition region)
Set the BorderLayout region. |
void |
setSplit(boolean split)
True to display a SplitBar between this region and its neighbor, allowing the user to resize the regions dynamically (defaults to false). |
void |
setSplitTip(java.lang.String splitTip)
The tooltip to display when the user hovers over a non-collapsible region's split bar (defaults to "Drag to resize."). |
void |
setUseSplitTips(boolean useSplitTips)
True to display a tooltip when the user hovers over a region's split bar (defaults to false). |
| Methods inherited from class com.gwtext.client.core.JsObject |
|---|
getJsObj, getProperties, isCreated, setJsObj |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BorderLayoutData(RegionPosition region)
region - the border layout region.
public BorderLayoutData(RegionPosition region,
Margins margins)
| Method Detail |
|---|
public void setRegion(RegionPosition region)
region - the regionpublic void setAnimFloat(boolean animFloat)
animFloat - true to amin floatpublic void setAutoHide(boolean autoHide)
autoHide - true to auto hide
public void setCMargins(int top,
int left,
int right,
int bottom)
public void setCMargins(Margins cMargins)
cMargins - the margins to apply to collapsed elementpublic void setCollapseModeMini(boolean miniMode)
miniMode - true for mimi collapse modepublic void setFloatable(boolean floatable)
floatable - true for floatable
public void setMargins(int top,
int left,
int right,
int bottom)
public void setMargins(Margins margins)
public void setMinHeight(int minHeight)
minHeight - the min heightpublic void setMinWidth(int minWidth)
minWidth - the min widthpublic void setMinSize(int minSize)
setSplit(boolean) is true, it is common to specify a minSize and maxSize for the region.
minSize - the split regions min sizepublic void setMaxSize(int maxSize)
setSplit(boolean) is true, it is common to specify a minSize and maxSize for the region.
maxSize - the split regions max sizepublic void setSplit(boolean split)
split - true for split barpublic void setCollapsibleSplitTip(java.lang.String collapsibleSplitTip)
collapsibleSplitTip - the tooltip to display when the user hovers over a collapsible region's split barsetSplit(boolean)public void setSplitTip(java.lang.String splitTip)
splitTip - the tooltip to display when the user hovers over a non-collapsible region's split bar (defaults to "Drag to resize.").setSplit(boolean)public void setUseSplitTips(boolean useSplitTips)
useSplitTips - true to display a tooltip when the user hovers over a region's split bar (defaults to false)setSplit(boolean)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||