| com.gwtext.client.widgets.layout.LayoutData com.gwtext.client.widgets.layout.BorderLayoutData
Method Summary | |
public 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). | public void | setAutoHide(boolean autoHide) When a collapsed region's bar is clicked, the region's panel will be displayed as a floated panel. | public void | setCMargins(int top, int left, int right, int bottom) | public void | setCMargins(Margins cMargins) The margins to apply to the region's collapsed element. | public 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. | public void | setCollapsibleSplitTip(String collapsibleSplitTip) The tooltip to display when the user hovers over a collapsible region's split bar (defaults to "Drag to resize. | public 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). | public void | setMargins(int top, int left, int right, int bottom) The margins to apply to the region. | public void | setMargins(Margins margins) | public void | setMaxSize(int maxSize) When
BorderLayoutData.setSplit(boolean) is true, it is common to specify a minSize and maxSize for the region. | public void | setMinHeight(int minHeight) The minimum allowable height in pixels for this region (defaults to 50). | public void | setMinSize(int minSize) When
BorderLayoutData.setSplit(boolean) is true, it is common to specify a minSize and maxSize for the region. | public void | setMinWidth(int minWidth) The minimum allowable width in pixels for this region (defaults to 50). | public void | setRegion(RegionPosition region) Set the BorderLayout region. | public 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). | public void | setSplitTip(String splitTip) The tooltip to display when the user hovers over a non-collapsible region's split bar (defaults to "Drag to resize."). | public void | setUseSplitTips(boolean useSplitTips) True to display a tooltip when the user hovers over a region's split bar (defaults to false). |
BorderLayoutData | public BorderLayoutData(RegionPosition region)(Code) | | Create a new instance.
Parameters: region - the border layout region. |
setAnimFloat | public void setAnimFloat(boolean animFloat)(Code) | | 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). Setting animFloat to false will
prevent the open and close of these floated panels from being animated (defaults to true).
Parameters: animFloat - true to amin float |
setAutoHide | public void setAutoHide(boolean autoHide)(Code) | | When a collapsed region's bar is clicked, the region's panel will be displayed as a floated panel. If autoHide is
true, the panel will automatically hide after the user mouses out of the panel. If autoHide is false, the panel will
continue to display until the user clicks outside of the panel (defaults to true).
Parameters: autoHide - true to auto hide |
setCMargins | public void setCMargins(int top, int left, int right, int bottom)(Code) | | |
setCMargins | public void setCMargins(Margins cMargins)(Code) | | The margins to apply to the region's collapsed element.
Parameters: cMargins - the margins to apply to collapsed element |
setCollapseModeMini | public void setCollapseModeMini(boolean miniMode)(Code) | | By default, collapsible regions are collapsed by clicking the expand/collapse tool button that renders into the
region's title bar. Optionally, when collapseMode is set to 'mini' the region's split bar will also display a
small collapse button in the center of the bar. In 'mini' mode the region will collapse to a thinner bar than in
normal mode.
Note that if a collapsible region does not have a title bar, then collapseMode must be set to 'mini' in order for
the region to be collapsible by the user as the tool button will not be rendered.
Parameters: miniMode - true for mimi collapse mode |
setCollapsibleSplitTip | public void setCollapsibleSplitTip(String collapsibleSplitTip)(Code) | | The tooltip to display when the user hovers over a collapsible region's split bar (defaults to "Drag to resize. Double click to hide.").
Setting this property automatically sets the split property to true.
Parameters: collapsibleSplitTip - the tooltip to display when the user hovers over a collapsible region's split bar See Also: BorderLayoutData.setSplit(boolean) |
setFloatable | public void setFloatable(boolean floatable)(Code) | | 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).
Parameters: floatable - true for floatable |
setMargins | public void setMargins(int top, int left, int right, int bottom)(Code) | | The margins to apply to the region.
|
setMaxSize | public void setMaxSize(int maxSize)(Code) | | When
BorderLayoutData.setSplit(boolean) is true, it is common to specify a minSize and maxSize for the region.
Parameters: maxSize - the split regions max size |
setMinHeight | public void setMinHeight(int minHeight)(Code) | | The minimum allowable height in pixels for this region (defaults to 50).
Parameters: minHeight - the min height |
setMinSize | public void setMinSize(int minSize)(Code) | | When
BorderLayoutData.setSplit(boolean) is true, it is common to specify a minSize and maxSize for the region.
Parameters: minSize - the split regions min size |
setMinWidth | public void setMinWidth(int minWidth)(Code) | | The minimum allowable width in pixels for this region (defaults to 50).
Parameters: minWidth - the min width |
setRegion | public void setRegion(RegionPosition region)(Code) | | Set the BorderLayout region.
Parameters: region - the region |
setSplit | public void setSplit(boolean split)(Code) | | True to display a SplitBar between this region and its neighbor, allowing the user to resize the regions
dynamically (defaults to false). When split = true, it is common to specify a minSize and maxSize for the region.
Parameters: split - true for split bar |
setSplitTip | public void setSplitTip(String splitTip)(Code) | | The tooltip to display when the user hovers over a non-collapsible region's split bar (defaults to "Drag to resize.").
Setting this property automatically sets the split property to true.
Parameters: splitTip - the tooltip to display when the user hovers over a non-collapsible region's split bar (defaults to "Drag to resize."). See Also: BorderLayoutData.setSplit(boolean) |
setUseSplitTips | public void setUseSplitTips(boolean useSplitTips)(Code) | | True to display a tooltip when the user hovers over a region's split bar (defaults to false). The tooltip text will
be the value of either splitTip or collapsibleSplitTip as appropriate.
Setting this property automatically sets the split property to true.
Parameters: useSplitTips - true to display a tooltip when the user hovers over a region's split bar (defaults to false) See Also: BorderLayoutData.setSplit(boolean) |
|
|