?? ext.toolbar.html
字號:
<div class="body-wrap"> <div class="top-tools"> <a class="inner-link" href="#Ext.Toolbar-props"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.Toolbar-methods"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.Toolbar-events"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="inner-link" href="#Ext.Toolbar-configs"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> <a class="bookmark" href="../docs/?class=Ext.Toolbar"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div> <div class="inheritance res-block"><pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a> <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Component" ext:member="" href="output/Ext.Component.html">Component</a> <img src="resources/elbow-end.gif"/><a ext:cls="Ext.BoxComponent" ext:member="" href="output/Ext.BoxComponent.html">BoxComponent</a> <img src="resources/elbow-end.gif"/>Toolbar</pre></div> <h1>Class Ext.Toolbar</h1> <table cellspacing="0"> <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr> <tr><td class="label">Defined In:</td><td class="hd-info">Toolbar.js</td></tr> <tr><td class="label">Class:</td><td class="hd-info">Toolbar</td></tr> <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.PagingToolbar" href="output/Ext.PagingToolbar.html">PagingToolbar</a>, <a ext:cls="Ext.StatusBar" href="output/Ext.StatusBar.html">StatusBar</a></td></tr> <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.BoxComponent" ext:member="" href="output/Ext.BoxComponent.html">BoxComponent</a></td></tr> </table> <div class="description"> Basic Toolbar class. Toolbar elements can be created explicitly via their constructors, or implicitlyvia their xtypes. Some items also have shortcut strings for creation. </div> <div class="hr"></div> <a id="Ext.Toolbar-configs"></a> <h2>Config Options</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Config Options</th> <th class="msource-header">Defined By</th> </tr> <tr class="config-row inherited"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar-allowDomMove"></a> <b>allowDomMove</b> : Boolean <div class="mdesc"> Whether the component can move the Dom node when rendering (defaults to true). </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">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.Toolbar-applyTo"></a> <b>applyTo</b> : Mixed <div class="mdesc"> <div class="short">The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document ...</div> <div class="long"> The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo is used, constituent parts of the component can also be specified by id or CSS class name within the main element, and the component being created may attempt to create its subcomponents from that markup if applicable. Using this config, a call to render() is not required. If applyTo is specified, any value passed for <a ext:cls="Ext.Component" ext:member="renderTo" href="output/Ext.Component.html#renderTo">renderTo</a> will be ignored and the target element's parent node will automatically be used as the component's container. </div> </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">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.Toolbar-autoHeight"></a> <b>autoHeight</b> : Boolean <div class="mdesc"> <div class="short">True to use height:'auto', false to use fixed height. Note: although many components inherit this config option, not ...</div> <div class="long"> True to use height:'auto', false to use fixed height. Note: although many components inherit this config option, not all will function as expected with a height of 'auto'. (defaults to false). </div> </div> </td> <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoHeight" href="output/Ext.BoxComponent.html#autoHeight">BoxComponent</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.Toolbar-autoShow"></a> <b>autoShow</b> : Boolean <div class="mdesc"> <div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render...</div> <div class="long"> True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false). </div> </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">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.Toolbar-autoWidth"></a> <b>autoWidth</b> : Boolean <div class="mdesc"> <div class="short">True to use width:'auto', false to use fixed width. Note: although many components inherit this config option, not al...</div> <div class="long"> True to use width:'auto', false to use fixed width. Note: although many components inherit this config option, not all will function as expected with a width of 'auto'. (defaults to false). </div> </div> </td> <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoWidth" href="output/Ext.BoxComponent.html#autoWidth">BoxComponent</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.Toolbar-cls"></a> <b>cls</b> : String <div class="mdesc"> <div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for a...</div> <div class="long"> An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules. </div> </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">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.Toolbar-ctCls"></a> <b>ctCls</b> : String <div class="mdesc"> <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div> <div class="long"> An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules. </div> </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">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.Toolbar-disabled"></a> <b>disabled</b> : Boolean <div class="mdesc"> Render this component disabled (default is false). </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td> </tr> <tr class="config-row inherited"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar-disabledClass"></a> <b>disabledClass</b> : String <div class="mdesc"> CSS class added to the component when it is disabled (defaults to "x-item-disabled"). </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">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.Toolbar-height"></a> <b>height</b> : Number <div class="mdesc"> The height of this component in pixels (defaults to auto). </div> </td> <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#height" href="output/Ext.BoxComponent.html#height">BoxComponent</a></td> </tr> <tr class="config-row inherited"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar-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.Toolbar-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.Toolbar-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.Toolbar-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 inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar-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"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar-overCls"></a> <b>overCls</b> : String <div class="mdesc"> <div class="short">An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and...</div> <div class="long"> An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and removed when the mouse moves out. (defaults to ''). This can be useful for adding customized "active" or "hover" styles to the component or any of its children using standard CSS rules. </div> </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#overCls" href="output/Ext.Component.html#overCls">Component</a></td> </tr>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -