X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Panel3.html diff --git a/docs/source/Panel3.html b/docs/source/Panel3.html index 04214e67..1797bc62 100644 --- a/docs/source/Panel3.html +++ b/docs/source/Panel3.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.panel.Panel
* @extends Ext.panel.AbstractPanel
* <p>Panel is a container that has specific functionality and structural components that make
@@ -101,14 +118,14 @@ Ext.define('Ext.panel.Panel', {
alias: 'widget.panel',
alternateClassName: 'Ext.Panel',
- /**
+ /**
* @cfg {String} collapsedCls
* A CSS class to add to the panel's element after it has been collapsed (defaults to
* <code>'collapsed'</code>).
*/
collapsedCls: 'collapsed',
- /**
+ /**
* @cfg {Boolean} animCollapse
* <code>true</code> to animate the transition when the panel is collapsed, <code>false</code> to skip the
* animation (defaults to <code>true</code> if the {@link Ext.fx.Anim} class is available, otherwise <code>false</code>).
@@ -116,7 +133,7 @@ Ext.define('Ext.panel.Panel', {
*/
animCollapse: Ext.enableFx,
- /**
+ /**
* @cfg {Number} minButtonWidth
* Minimum width of all footer toolbar buttons in pixels (defaults to <tt>75</tt>). If set, this will
* be used as the default value for the <tt>{@link Ext.button.Button#minWidth}</tt> config of
@@ -126,28 +143,28 @@ Ext.define('Ext.panel.Panel', {
*/
minButtonWidth: 75,
- /**
+ /**
* @cfg {Boolean} collapsed
* <code>true</code> to render the panel collapsed, <code>false</code> to render it expanded (defaults to
* <code>false</code>).
*/
collapsed: false,
- /**
+ /**
* @cfg {Boolean} collapseFirst
* <code>true</code> to make sure the collapse/expand toggle button always renders first (to the left of)
* any other tools in the panel's title bar, <code>false</code> to render it last (defaults to <code>true</code>).
*/
collapseFirst: true,
- /**
+ /**
* @cfg {Boolean} hideCollapseTool
* <code>true</code> to hide the expand/collapse toggle button when <code>{@link #collapsible} == true</code>,
* <code>false</code> to display it (defaults to <code>false</code>).
*/
hideCollapseTool: false,
- /**
+ /**
* @cfg {Boolean} titleCollapse
* <code>true</code> to allow expanding and collapsing the panel (when <code>{@link #collapsible} = true</code>)
* by clicking anywhere in the header bar, <code>false</code>) to allow it only by clicking to tool button
@@ -155,7 +172,7 @@ Ext.define('Ext.panel.Panel', {
*/
titleCollapse: false,
- /**
+ /**
* @cfg {String} collapseMode
* <p><b>Important: this config is only effective for {@link #collapsible} Panels which are direct child items of a {@link Ext.layout.container.Border border layout}.</b></p>
* <p>When <i>not</i> a direct child item of a {@link Ext.layout.container.Border border layout}, then the Panel's header remains visible, and the body is collapsed to zero dimensions.
@@ -168,7 +185,7 @@ Ext.define('Ext.panel.Panel', {
* </ul></div></p>
*/
- /**
+ /**
* @cfg {Mixed} placeholder
* <p><b>Important: This config is only effective for {@link #collapsible} Panels which are direct child items of a {@link Ext.layout.container.Border border layout}
* when not using the <code>'header'</code> {@link #collapseMode}.</b></p>
@@ -177,7 +194,7 @@ Ext.define('Ext.panel.Panel', {
* containing a {@link Ext.panel.Tool Tool} to re-expand the Panel.</p>
*/
- /**
+ /**
* @cfg {Boolean} floatable
* <p><b>Important: This config is only effective for {@link #collapsible} Panels which are direct child items of a {@link Ext.layout.container.Border border layout}.</b></p>
* <tt>true</tt> to allow clicking a collapsed Panel's {@link #placeholder} to display the Panel floated
@@ -185,8 +202,14 @@ Ext.define('Ext.panel.Panel', {
* clicking the expand button to see it again (defaults to <tt>true</tt>).
*/
floatable: true,
-
- /**
+
+ /**
+ * @cfg {Mixed} overlapHeader
+ * True to overlap the header in a panel over the framing of the panel itself. This is needed when frame:true (and is done automatically for you). Otherwise it is undefined.
+ * If you manually add rounded corners to a panel header which does not have frame:true, this will need to be set to true.
+ */
+
+ /**
* @cfg {Boolean} collapsible
* <p>True to make the panel collapsible and have an expand/collapse toggle Tool added into
* the header tool button area. False to keep the panel sized either statically, or by an owning layout manager, with no toggle Tool (defaults to false).</p>
@@ -194,7 +217,7 @@ Ext.define('Ext.panel.Panel', {
*/
collapsible: false,
- /**
+ /**
* @cfg {Boolean} collapseDirection
* <p>The direction to collapse the Panel when the toggle button is clicked.</p>
* <p>Defaults to the {@link #headerPosition}</p>
@@ -202,7 +225,7 @@ Ext.define('Ext.panel.Panel', {
* <p>Specify as <code>'top'</code>, <code>'bottom'</code>, <code>'left'</code> or <code>'right'</code>.</p>
*/
- /**
+ /**
* @cfg {Boolean} closable
* <p>True to display the 'close' tool button and allow the user to close the window, false to
* hide the button and disallow closing the window (defaults to <code>false</code>).</p>
@@ -214,7 +237,7 @@ Ext.define('Ext.panel.Panel', {
*/
closable: false,
- /**
+ /**
* @cfg {String} closeAction
* <p>The action to take when the close header tool is clicked:
* <div class="mdetail-params"><ul>
@@ -233,7 +256,7 @@ Ext.define('Ext.panel.Panel', {
*/
closeAction: 'destroy',
- /**
+ /**
* @cfg {Object/Array} dockedItems
* A component or series of components to be added as docked items to this panel.
* The docked items can be docked to either the top, right, left or bottom of a panel.
@@ -250,29 +273,29 @@ var panel = new Ext.panel.Panel({
});</pre></code>
*/
- /**
+ /**
* @cfg {Boolean} preventHeader Prevent a Header from being created and shown. Defaults to false.
*/
preventHeader: false,
- /**
+ /**
* @cfg {String} headerPosition Specify as <code>'top'</code>, <code>'bottom'</code>, <code>'left'</code> or <code>'right'</code>. Defaults to <code>'top'</code>.
*/
headerPosition: 'top',
- /**
+ /**
* @cfg {Boolean} frame
* True to apply a frame to the panel.
*/
frame: false,
- /**
+ /**
* @cfg {Boolean} frameHeader
* True to apply a frame to the panel panels header (if 'frame' is true).
*/
frameHeader: true,
- /**
+ /**
* @cfg {Array} tools
* An array of {@link Ext.panel.Tool} configs/instances to be added to the header tool area. The tools are stored as child
* components of the header container. They can be accessed using {@link #down} and {#query}, as well as the other
@@ -306,7 +329,7 @@ tools:[{
cls;
me.addEvents(
- /**
+ /**
* @event titlechange
* Fires after the Panel title has been set or changed.
* @param {Ext.panel.Panel} p the Panel which has been resized.
@@ -314,7 +337,7 @@ tools:[{
* @param {String} oldTitle The previous panel title.
*/
'titlechange',
- /**
+ /**
* @event iconchange
* Fires after the Panel iconCls has been set or changed.
* @param {Ext.panel.Panel} p the Panel which has been resized.
@@ -386,7 +409,7 @@ tools:[{
return this.header;
},
- /**
+ /**
* Set a title for the panel's header. See {@link Ext.panel.Header#title}.
* @param {String} newTitle
*/
@@ -407,7 +430,7 @@ tools:[{
me.fireEvent('titlechange', me, newTitle, oldTitle);
},
- /**
+ /**
* Set the iconCls for the panel's header. See {@link Ext.panel.Header#iconCls}.
* @param {String} newIconCls
*/
@@ -448,7 +471,7 @@ tools:[{
// Backwards compatibility
- /**
+ /**
* @cfg {Object/Array} tbar
Convenience method. Short for 'Top Bar'.
@@ -474,7 +497,7 @@ is equivalent to
me.tbar = null;
}
- /**
+ /**
* @cfg {Object/Array} bbar
Convenience method. Short for 'Bottom Bar'.
@@ -500,7 +523,7 @@ is equivalent to
me.bbar = null;
}
-
\ No newline at end of file
+
+
+