You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
57 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. Ext.data.JsonP.Ext_layout_FormLayout({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":"Ext.layout.AnchorLayout","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.layout.ContainerLayout' rel='Ext.layout.ContainerLayout' class='docClass'>Ext.layout.ContainerLayout</a><div class='subclass '><a href='#!/api/Ext.layout.AnchorLayout' rel='Ext.layout.AnchorLayout' class='docClass'>Ext.layout.AnchorLayout</a><div class='subclass '><strong>Ext.layout.FormLayout</strong></div></div></div><h4>Files</h4><div class='dependency'><a href='source/FormLayout.html#Ext-layout-FormLayout' target='_blank'>FormLayout.js</a></div></pre><div class='doc-contents'><p>This layout manager is specifically designed for rendering and managing child Components of\n<a href=\"#!/api/Ext.form.FormPanel\" rel=\"Ext.form.FormPanel\" class=\"docClass\">forms</a>. It is responsible for rendering the labels of\n<a href=\"#!/api/Ext.form.Field\" rel=\"Ext.form.Field\" class=\"docClass\">Field</a>s.</p>\n\n\n\n\n<p>This layout manager is used when a Container is configured with the <tt>layout:'form'</tt>\n<a href=\"#!/api/Ext.Container-cfg-layout\" rel=\"Ext.Container-cfg-layout\" class=\"docClass\">layout</a> config option, and should generally not need to be created directly\nvia the new keyword. See <tt><b><a href=\"#!/api/Ext.Container-cfg-layout\" rel=\"Ext.Container-cfg-layout\" class=\"docClass\">Ext.Container.layout</a></b></tt> for additional details.</p>\n\n\n\n\n<p>In an application, it will usually be preferrable to use a <a href=\"#!/api/Ext.form.FormPanel\" rel=\"Ext.form.FormPanel\" class=\"docClass\">FormPanel</a>\n(which is configured with FormLayout as its layout class by default) since it also provides built-in\nfunctionality for <a href=\"#!/api/Ext.form.BasicForm-method-doAction\" rel=\"Ext.form.BasicForm-method-doAction\" class=\"docClass\">loading, validating and submitting</a> the form.</p>\n\n\n\n\n<p>A <a href=\"#!/api/Ext.Container\" rel=\"Ext.Container\" class=\"docClass\">Container</a> <i>using</i> the FormLayout layout manager (e.g.\n<a href=\"#!/api/Ext.form.FormPanel\" rel=\"Ext.form.FormPanel\" class=\"docClass\">Ext.form.FormPanel</a> or specifying <tt>layout:'form'</tt>) can also accept the following\nlayout-specific config properties:<div class=\"mdetail-params\"><ul>\n<li><b><tt><a href=\"#!/api/Ext.form.FormPanel-cfg-hideLabels\" rel=\"Ext.form.FormPanel-cfg-hideLabels\" class=\"docClass\">hideLabels</a></tt></b></li>\n<li><b><tt><a href=\"#!/api/Ext.form.FormPanel-cfg-labelAlign\" rel=\"Ext.form.FormPanel-cfg-labelAlign\" class=\"docClass\">labelAlign</a></tt></b></li>\n<li><b><tt><a href=\"#!/api/Ext.form.FormPanel-cfg-labelPad\" rel=\"Ext.form.FormPanel-cfg-labelPad\" class=\"docClass\">labelPad</a></tt></b></li>\n<li><b><tt><a href=\"#!/api/Ext.form.FormPanel-cfg-labelSeparator\" rel=\"Ext.form.FormPanel-cfg-labelSeparator\" class=\"docClass\">labelSeparator</a></tt></b></li>\n<li><b><tt><a href=\"#!/api/Ext.form.FormPanel-cfg-labelWidth\" rel=\"Ext.form.FormPanel-cfg-labelWidth\" class=\"docClass\">labelWidth</a></tt></b></li>\n</ul></div></p>\n\n\n\n\n<p>Any Component (including Fields) managed by FormLayout accepts the following as a config option:\n<div class=\"mdetail-params\"><ul>\n<li><b><tt>anchor</tt></b></li>\n</ul></div></p>\n\n\n\n\n<p>Any Component managed by FormLayout may be rendered as a form field (with an associated label) by\nconfiguring it with a non-null <b><tt><a href=\"#!/api/Ext.Component-cfg-fieldLabel\" rel=\"Ext.Component-cfg-fieldLabel\" class=\"docClass\">fieldLabel</a></tt></b>. Components configured\nin this way may be configured with the following options which affect the way the FormLayout renders them:\n<div class=\"mdetail-params\"><ul>\n<li><b><tt><a href=\"#!/api/Ext.Component-cfg-clearCls\" rel=\"Ext.Component-cfg-clearCls\" class=\"docClass\">clearCls</a></tt></b></li>\n<li><b><tt><a href=\"#!/api/Ext.Component-cfg-fieldLabel\" rel=\"Ext.Component-cf