📄 ext.layout.borderlayout.region.html
字号:
<td class="msource">BorderLayout.Region</td> </tr> <tr class="property-row alt"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.layout.BorderLayout.Region-position"></a> <b>position</b> : String <div class="mdesc"> This region's layout position (north, south, east, west or center). Read-only. </div> </td> <td class="msource">BorderLayout.Region</td> </tr> </table> <a id="Ext.layout.BorderLayout.Region-methods"></a> <h2>Public Methods</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Method</th> <th class="msource-header">Defined By</th> </tr> <tr class="method-row expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.layout.BorderLayout.Region-BorderLayout.Region"></a> <b>BorderLayout.Region</b>( <code>Layout layout</code>, <code>Object config</code>, <code>String position</code> ) <div class="mdesc"> <div class="short">Create a new Region.</div> <div class="long"> Create a new Region. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>layout</code> : Layout<div class="sub-desc">Any valid Ext layout class</div></li><li><code>config</code> : Object<div class="sub-desc">The configuration options</div></li><li><code>position</code> : String<div class="sub-desc">The region position. Valid values are: north, south, east, west and center. EveryBorderLayout must have a center region for the primary content -- all other regions are optional.</div></li> </ul> <strong>Returns:</strong> <ul> <li><code></code></li> </ul> </div> </div> </div> </td> <td class="msource">BorderLayout.Region</td> </tr> <tr class="method-row alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.layout.BorderLayout.Region-getMargins"></a> <b>getMargins</b>() : Object <div class="mdesc"> <div class="short">Returns the current margins for this region. If the region is collapsed, the cmargins (collapsedmargins) value will...</div> <div class="long"> Returns the current margins for this region. If the region is collapsed, the cmargins (collapsedmargins) value will be returned, otherwise the margins value will be returned. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li>None.</li> </ul> <strong>Returns:</strong> <ul> <li><code>Object</code><div class="sub-desc">An object containing the element's margins: {left: (left margin), top: (top margin), right: (right margin), bottom: (bottom margin)}</div></li> </ul> </div> </div> </div> </td> <td class="msource">BorderLayout.Region</td> </tr> <tr class="method-row expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.layout.BorderLayout.Region-getMinHeight"></a> <b>getMinHeight</b>() : Number <div class="mdesc"> <div class="short">Returns the minimum allowable height for this region.</div> <div class="long"> Returns the minimum allowable height for this region. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li>None.</li> </ul> <strong>Returns:</strong> <ul> <li><code>Number</code><div class="sub-desc">The minimum height</div></li> </ul> </div> </div> </div> </td> <td class="msource">BorderLayout.Region</td> </tr> <tr class="method-row alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.layout.BorderLayout.Region-getMinWidth"></a> <b>getMinWidth</b>() : Number <div class="mdesc"> <div class="short">Returns the minimum allowable width for this region.</div> <div class="long"> Returns the minimum allowable width for this region. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li>None.</li> </ul> <strong>Returns:</strong> <ul> <li><code>Number</code><div class="sub-desc">The minimum width</div></li> </ul> </div> </div> </div> </td> <td class="msource">BorderLayout.Region</td> </tr> <tr class="method-row expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.layout.BorderLayout.Region-getSize"></a> <b>getSize</b>() : Object <div class="mdesc"> <div class="short">Returns the current size of this region. If the region is collapsed, the size of the collapsedEl willbe returned, o...</div> <div class="long"> Returns the current size of this region. If the region is collapsed, the size of the collapsedEl willbe returned, otherwise the size of the region's panel will be returned. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li>None.</li> </ul> <strong>Returns:</strong> <ul> <li><code>Object</code><div class="sub-desc">An object containing the element's size: {width: (element width), height: (element height)}</div></li> </ul> </div> </div> </div> </td> <td class="msource">BorderLayout.Region</td> </tr> <tr class="method-row alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.layout.BorderLayout.Region-isVisible"></a> <b>isVisible</b>() : Boolean <div class="mdesc"> <div class="short">True if this region is currently visible, else false.</div> <div class="long"> True if this region is currently visible, else false. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li>None.</li> </ul> <strong>Returns:</strong> <ul> <li><code>Boolean</code></li> </ul> </div> </div> </div> </td> <td class="msource">BorderLayout.Region</td> </tr> <tr class="method-row expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.layout.BorderLayout.Region-setPanel"></a> <b>setPanel</b>( <code>Ext.Panel panel</code> ) : void <div class="mdesc"> <div class="short">Sets the specified panel as the container element for this region.</div> <div class="long"> Sets the specified panel as the container element for this region. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>panel</code> : Ext.Panel<div class="sub-desc">The new panel</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>void</code></li> </ul> </div> </div> </div> </td> <td class="msource">BorderLayout.Region</td> </tr> </table> <a id="Ext.layout.BorderLayout.Region-events"></a> <h2>Public Events</h2> <div class="no-members">This class has no public events.</div> </div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -