ext.cyclebutton.html.svn-base

来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 971 行 · 第 1/5 页

SVN-BASE
971
字号
            <b>repeat</b> : Boolean/Object            <div class="mdesc">
                        <div class="short">True to repeat fire the click event while the mouse is down. This can also be an Ext.util.ClickRepeater config object...</div>
            <div class="long">
                True to repeat fire the click event while the mouse is down. This can also be an <a ext:cls="Ext.util.ClickRepeater" href="output/Ext.util.ClickRepeater.html">Ext.util.ClickRepeater</a> config object (defaults to false).            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#repeat" href="output/Ext.Button.html#repeat">Button</a></td>
    </tr>
        <tr class="config-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-scope"></a>
            <b>scope</b> : Object            <div class="mdesc">
                            The scope of the handler                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#scope" href="output/Ext.Button.html#scope">Button</a></td>
    </tr>
        <tr class="config-row">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-showText"></a>
            <b>showText</b> : Boolean            <div class="mdesc">
                            True to display the active item's text as the button text (defaults to false)                        </div>
        </td>
        <td class="msource">CycleButton</td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-stateEvents"></a>
            <b>stateEvents</b> : Array            <div class="mdesc">
                        <div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>
            <div class="long">
                An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
    </tr>
        <tr class="config-row inherited expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-stateId"></a>
            <b>stateId</b> : String            <div class="mdesc">
                        <div class="short">The unique id for this component to use for state management purposes (defaults to the component id). See stateful fo...</div>
            <div class="long">
                The unique id for this component to use for state management purposes (defaults to the component id). <p>See <a ext:cls="Ext.Component" ext:member="stateful" href="output/Ext.Component.html#stateful">stateful</a> for an explanation of saving and restoring Component state.</p>            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-stateful"></a>
            <b>stateful</b> : Boolean            <div class="mdesc">
                        <div class="short">A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startu...</div>
            <div class="long">
                A flag which causes the Component to attempt to restore the state of internal properties from a saved state on startup.<p> For state saving to work, the state manager's provider must have been set to an implementation of <a ext:cls="Ext.state.Provider" href="output/Ext.state.Provider.html">Ext.state.Provider</a> which overrides the <a ext:cls="Ext.state.Provider" ext:member="set" href="output/Ext.state.Provider.html#set">set</a> and <a ext:cls="Ext.state.Provider" ext:member="get" href="output/Ext.state.Provider.html#get">get</a> methods to save and recall name/value pairs. A built-in implementation, <a ext:cls="Ext.state.CookieProvider" href="output/Ext.state.CookieProvider.html">Ext.state.CookieProvider</a> is available.</p> <p>To set the state provider for the current page:</p> <pre><code>Ext.state.Manager.setProvider(<b>new</b> Ext.state.CookieProvider());</code></pre> <p>Components attempt to save state when one of the events listed in the <a ext:cls="Ext.Component" ext:member="stateEvents" href="output/Ext.Component.html#stateEvents">stateEvents</a> configuration fires.</p> <p>You can perform extra processing on state save and restore by attaching handlers to the <a ext:cls="Ext.Component" ext:member="beforestaterestore" href="output/Ext.Component.html#beforestaterestore">beforestaterestore</a>, <a ext:cls="staterestore" href="output/staterestore.html">staterestore</a>, <a ext:cls="beforestatesave" href="output/beforestatesave.html">beforestatesave</a> and <a ext:cls="statesave" href="output/statesave.html">statesave</a> events</p>            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateful" href="output/Ext.Component.html#stateful">Component</a></td>
    </tr>
        <tr class="config-row inherited expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-style"></a>
            <b>style</b> : String            <div class="mdesc">
                        <div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>
            <div class="long">
                A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
    </tr>
        <tr class="config-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-tabIndex"></a>
            <b>tabIndex</b> : Number            <div class="mdesc">
                            Set a DOM tabIndex for this button (defaults to undefined)                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tabIndex" href="output/Ext.Button.html#tabIndex">Button</a></td>
    </tr>
        <tr class="config-row inherited expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-template"></a>
            <b>template</b> : Ext.Template            <div class="mdesc">
                        <div class="short">(Optional) An Ext.Template with which to create the Button's main element. This Template must contain numeric substit...</div>
            <div class="long">
                (Optional) An <a ext:cls="Ext.Template" href="output/Ext.Template.html">Ext.Template</a> with which to create the Button's main element. This Template must contain numeric substitution parameter 0 if it is to display the text property. Changing the template could require code modifications if required elements (e.g. a button) aren't present.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#template" href="output/Ext.Button.html#template">Button</a></td>
    </tr>
        <tr class="config-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-text"></a>
            <b>text</b> : String            <div class="mdesc">
                            The button text                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#text" href="output/Ext.Button.html#text">Button</a></td>
    </tr>
        <tr class="config-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-toggleGroup"></a>
            <b>toggleGroup</b> : String            <div class="mdesc">
                            The group this toggle button is a member of (only 1 per group can be pressed, only applies if enableToggle = true)                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#toggleGroup" href="output/Ext.Button.html#toggleGroup">Button</a></td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-toggleHandler"></a>
            <b>toggleHandler</b> : Function            <div class="mdesc">
                        <div class="short">Function called when a Button with enableToggle set to true is clicked. Two arguments are passed: button : Ext.Button...</div>
            <div class="long">
                Function called when a Button with <a ext:cls="Ext.Button" ext:member="enableToggle" href="output/Ext.Button.html#enableToggle">enableToggle</a> set to true is clicked. Two arguments are passed:<ul class="mdetail-params"> <li><b>button</b> : Ext.Button<div class="sub-desc">this Button object</div></li> <li><b>state</b> : Boolean<div class="sub-desc">The next state if the Button, true means pressed.</div></li> </ul>            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#toggleHandler" href="output/Ext.Button.html#toggleHandler">Button</a></td>
    </tr>
        <tr class="config-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-tooltip"></a>
            <b>tooltip</b> : String/Object            <div class="mdesc">
                            The tooltip for the button - can be a string or QuickTips config object                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tooltip" href="output/Ext.Button.html#tooltip">Button</a></td>
    </tr>
        <tr class="config-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-tooltipType"></a>
            <b>tooltipType</b> : String            <div class="mdesc">
                            The type of tooltip to use. Either "qtip" (default) for QuickTips or "title" for title attribute.                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#tooltipType" href="output/Ext.Button.html#tooltipType">Button</a></td>
    </tr>
        <tr class="config-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-type"></a>
            <b>type</b> : String            <div class="mdesc">
                            submit, reset or button - defaults to 'button'                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Button" ext:member="#type" href="output/Ext.Button.html#type">Button</a></td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-xtype"></a>
            <b>xtype</b> : String            <div class="mdesc">
                        <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
            <div class="long">
                The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
    </tr>
            </table>                <a id="Ext.CycleButton-props"></a>        <h2>Public Properties</h2>                <table cellspacing="0" class="member-table">            <tr>                <th class="sig-header" colspan="2">Property</th>                <th class="msource-header">Defined By</th>            </tr>                <tr class="property-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-disabled"></a>
            <b>disabled</b> : Boolean            <div class="mdesc">
                            True if this component is disabled. Read-only.                        </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="property-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-hidden"></a>
            <b>hidden</b> : Boolean            <div class="mdesc">
                            True if this component is hidden. Read-only.                        </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="property-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.CycleButton-initialConfig"></a>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?