📄 ext.form.formpanel.html
字号:
</tr> <tr class="config-row inherited"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-hidden"></a> <b>hidden</b> : Boolean <div class="mdesc"> Render this component hidden (default is false). </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td> </tr> <tr class="config-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-hideBorders"></a> <b>hideBorders</b> : Boolean <div class="mdesc"> <div class="short">True to hide the borders of each contained component, false to defer to the component's existing border settings (def...</div> <div class="long"> True to hide the borders of each contained component, false to defer to the component's existing border settings (defaults to false). </div> </div> </td> <td class="msource"><a ext:cls="Ext.Container" ext:member="#hideBorders" href="output/Ext.Container.html#hideBorders">Container</a></td> </tr> <tr class="config-row inherited"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-hideCollapseTool"></a> <b>hideCollapseTool</b> : Boolean <div class="mdesc"> True to hide the expand/collapse toggle button when <a ext:cls="Ext.Panel" ext:member="collapsible" href="output/Ext.Panel.html#collapsible">collapsible</a> = true, false to display it (defaults to false). </div> </td> <td class="msource"><a ext:cls="Ext.Panel" ext:member="#hideCollapseTool" href="output/Ext.Panel.html#hideCollapseTool">Panel</a></td> </tr> <tr class="config-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-hideMode"></a> <b>hideMode</b> : String <div class="mdesc"> <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div> <div class="long"> How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display". </div> </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td> </tr> <tr class="config-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-hideParent"></a> <b>hideParent</b> : Boolean <div class="mdesc"> <div class="short">True to hide and show the component's container when hide/show is called on the component, false to hide and show the...</div> <div class="long"> True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide button on a window by setting hide:true on the button when adding it to its parent container. </div> </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td> </tr> <tr class="config-row inherited alt"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-html"></a> <b>html</b> : String/Object <div class="mdesc"> An HTML fragment, or a <a ext:cls="Ext.DomHelper" href="output/Ext.DomHelper.html">DomHelper</a> specification to use as the panel's body content (defaults to ''). </div> </td> <td class="msource"><a ext:cls="Ext.Panel" ext:member="#html" href="output/Ext.Panel.html#html">Panel</a></td> </tr> <tr class="config-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-iconCls"></a> <b>iconCls</b> : String <div class="mdesc"> <div class="short">A CSS class that will provide a background image to be used as the header icon (defaults to ''). An example custom ic...</div> <div class="long"> A CSS class that will provide a background image to be used as the header icon (defaults to ''). An example custom icon class would be something like: .my-icon { background: url(../images/my-icon.gif) 0 6px no-repeat !important;} </div> </div> </td> <td class="msource"><a ext:cls="Ext.Panel" ext:member="#iconCls" href="output/Ext.Panel.html#iconCls">Panel</a></td> </tr> <tr class="config-row inherited alt"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-id"></a> <b>id</b> : String <div class="mdesc"> The unique id of this component (defaults to an auto-assigned id). </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td> </tr> <tr class="config-row"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-itemCls"></a> <b>itemCls</b> : String <div class="mdesc"> A css class to apply to the x-form-item of fields. This property cascades to child containers. </div> </td> <td class="msource">FormPanel</td> </tr> <tr class="config-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-items"></a> <b>items</b> : Mixed <div class="mdesc"> <div class="short">A single item, or an array of child Components to be added to this container. Each item can be any type of object bas...</div> <div class="long"> A single item, or an array of child Components to be added to this container. Each item can be any type of object based on <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>.<br><br> Component config objects may also be specified in order to avoid the overhead of constructing a real Component object if lazy rendering might mean that the added Component will not be rendered immediately. To take advantage of this "lazy instantiation", set the <a ext:cls="Ext.Component" ext:member="xtype" href="output/Ext.Component.html#xtype">Ext.Component.xtype</a> config property to the registered type of the Component wanted.<br><br> For a list of all available xtypes, see <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>. If a single item is being passed, it should be passed directly as an object reference (e.g., items: {...}). Multiple items should be passed as an array of objects (e.g., items: [{...}, {...}]). </div> </div> </td> <td class="msource"><a ext:cls="Ext.Container" ext:member="#items" href="output/Ext.Container.html#items">Container</a></td> </tr> <tr class="config-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-keys"></a> <b>keys</b> : Object/Array <div class="mdesc"> <div class="short">A KeyMap config object (in the format expected by Ext.KeyMap.addBinding used to assign custom key handling to this pa...</div> <div class="long"> A KeyMap config object (in the format expected by <a ext:cls="Ext.KeyMap" ext:member="addBinding" href="output/Ext.KeyMap.html#addBinding">Ext.KeyMap.addBinding</a> used to assign custom key handling to this panel (defaults to null). </div> </div> </td> <td class="msource"><a ext:cls="Ext.Panel" ext:member="#keys" href="output/Ext.Panel.html#keys">Panel</a></td> </tr> <tr class="config-row alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-labelAlign"></a> <b>labelAlign</b> : String <div class="mdesc"> <div class="short">Valid values are "left," "top" and "right" (defaults to "left"). This property cascades to child containers and can b...</div> <div class="long"> Valid values are "left," "top" and "right" (defaults to "left"). This property cascades to child containers and can be overridden on any child container (e.g., a fieldset can specify a different labelAlign for its fields). </div> </div> </td> <td class="msource">FormPanel</td> </tr> <tr class="config-row expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-labelWidth"></a> <b>labelWidth</b> : Number <div class="mdesc"> <div class="short">The width of labels. This property cascades to child containers and can be overridden on any child container (e.g., a...</div> <div class="long"> The width of labels. This property cascades to child containers and can be overridden on any child container (e.g., a fieldset can specify a different labelWidth for its fields). </div> </div> </td> <td class="msource">FormPanel</td> </tr> <tr class="config-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-layoutConfig"></a> <b>layoutConfig</b> : Object <div class="mdesc"> <div class="short">This is a config object containing properties specific to the chosen layout (to be used in conjunction with the layou...</div> <div class="long"> This is a config object containing properties specific to the chosen layout (to be used in conjunction with the <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> config value). For complete details regarding the valid config options for each layout type, see the layout class corresponding to the type specified:<ul class="mdetail-params"> <li><a ext:cls="Ext.layout.Absolute" href="output/Ext.layout.Absolute.html">Ext.layout.Absolute</a></li> <li><a ext:cls="Ext.layout.Accordion" href="output/Ext.layout.Accordion.html">Ext.layout.Accordion</a></li> <li><a ext:cls="Ext.layout.AnchorLayout" href="output/Ext.layout.AnchorLayout.html">Ext.layout.AnchorLayout</a></li> <li><a ext:cls="Ext.layout.BorderLayout" href="output/Ext.layout.BorderLayout.html">Ext.layout.BorderLayout</a></li> <li><a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a></li> <li><a ext:cls="Ext.layout.ColumnLayout" href="output/Ext.layout.ColumnLayout.html">Ext.layout.ColumnLayout</a></li> <li><a ext:cls="Ext.layout.FitLayout" href="output/Ext.layout.FitLayout.html">Ext.layout.FitLayout</a></li> <li><a ext:cls="Ext.layout.FormLayout" href="output/Ext.layout.FormLayout.html">Ext.layout.FormLayout</a></li> <li><a ext:cls="Ext.layout.TableLayout" href="output/Ext.layout.TableLayout.html">Ext.layout.TableLayout</a></li></ul> </div> </div> </td> <td class="msource"><a ext:cls="Ext.Container" ext:member="#layoutConfig" href="output/Ext.Container.html#layoutConfig">Container</a></td> </tr> <tr class="config-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.form.FormPanel-listeners"></a> <b>listeners</b> : Object <div class="mdesc"> <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div> <div class="long"> A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div> </div> </td> <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td> </tr> <tr class="config-row inherited alt expandable">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -