ext.tree.treepanel.html.svn-base

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

SVN-BASE
874
字号
            <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 alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.tree.TreePanel-collapseFirst"></a>
            <b>collapseFirst</b> : Boolean            <div class="mdesc">
                        <div class="short">True to make sure the collapse/expand toggle button always renders first (to the left of) any other tools in the pane...</div>
            <div class="long">
                True to make sure the collapse/expand toggle button always renders first (to the left of) any other tools in the panel's title bar, false to render it last (defaults to true).            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Panel" ext:member="#collapseFirst" href="output/Ext.Panel.html#collapseFirst">Panel</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.tree.TreePanel-collapsed"></a>
            <b>collapsed</b> : Boolean            <div class="mdesc">
                            True to render the panel collapsed, false to render it expanded (defaults to false).                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Panel" ext:member="#collapsed" href="output/Ext.Panel.html#collapsed">Panel</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.tree.TreePanel-collapsedCls"></a>
            <b>collapsedCls</b> : String            <div class="mdesc">
                            A CSS class to add to the panel's element after it has been collapsed (defaults to 'x-panel-collapsed').                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Panel" ext:member="#collapsedCls" href="output/Ext.Panel.html#collapsedCls">Panel</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.tree.TreePanel-collapsible"></a>
            <b>collapsible</b> : Boolean            <div class="mdesc">
                        <div class="short">True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into the header ...</div>
            <div class="long">
                True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into the header tool button area, false to keep the panel statically sized with no button (defaults to false).            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Panel" ext:member="#collapsible" href="output/Ext.Panel.html#collapsible">Panel</a></td>
    </tr>
        <tr class="config-row alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.tree.TreePanel-containerScroll"></a>
            <b>containerScroll</b> : Boolean            <div class="mdesc">
                            true to register this container with ScrollManager                        </div>
        </td>
        <td class="msource">TreePanel</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.tree.TreePanel-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 alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.tree.TreePanel-ddAppendOnly"></a>
            <b>ddAppendOnly</b> : String            <div class="mdesc">
                            True if the tree should only allow append drops (use for trees which are sorted)                        </div>
        </td>
        <td class="msource">TreePanel</td>
    </tr>
        <tr class="config-row">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.tree.TreePanel-ddGroup"></a>
            <b>ddGroup</b> : String            <div class="mdesc">
                            The DD group this TreePanel belongs to                        </div>
        </td>
        <td class="msource">TreePanel</td>
    </tr>
        <tr class="config-row alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.tree.TreePanel-ddScroll"></a>
            <b>ddScroll</b> : Boolean            <div class="mdesc">
                            true to enable body scrolling                        </div>
        </td>
        <td class="msource">TreePanel</td>
    </tr>
        <tr class="config-row">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.tree.TreePanel-dragConfig"></a>
            <b>dragConfig</b> : Object            <div class="mdesc">
                            Custom config to pass to the <a ext:cls="Ext.tree.TreeDragZone" href="output/Ext.tree.TreeDragZone.html">Ext.tree.TreeDragZone</a> instance                        </div>
        </td>
        <td class="msource">TreePanel</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.tree.TreePanel-draggable"></a>
            <b>draggable</b> : Boolean            <div class="mdesc">
                        <div class="short">True to enable dragging of this Panel (defaults to false). For custom drag/drop implementations, an Ext.Panel.DD conf...</div>
            <div class="long">
                <p>True to enable dragging of this Panel (defaults to false).</p> <p>For custom drag/drop implementations, an Ext.Panel.DD config could also be passed in this config instead of true. Ext.Panel.DD is an internal, undocumented class which moves a proxy Element around in place of the Panel's element, but provides no other behaviour during dragging or on drop. It is a subclass of <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a>, so behaviour may be added by implementing the interface methods of <a ext:cls="Ext.dd.DragDrop" href="output/Ext.dd.DragDrop.html">Ext.dd.DragDrop</a> eg: <pre><code>new Ext.Panel({    title: <em>'Drag me'</em>,    x: 100,    y: 100,    renderTo: Ext.getBody(),    floating: true,    frame: true,    width: 400,    height: 200,    draggable: {<i>//      Config option of Ext.Panel.DD class.</i><i>//      It's a floating Panel, so <b>do</b> not show a placeholder proxy <b>in</b> the original position.</i>        insertProxy: false,<i>//      Called <b>for</b> each mousemove event <b>while</b> dragging the DD object.</i>        onDrag : <b>function</b>(e){<i>//          Record the x,y position of the drag proxy so that we can</i><i>//          position the Panel at end of drag.</i>            <b>var</b> pel = <b>this</b>.proxy.getEl();            <b>this</b>.x = pel.getLeft(true);            <b>this</b>.y = pel.getTop(true);<i>//          Keep the Shadow aligned <b>if</b> there is one.</i>            <b>var</b> s = <b>this</b>.panel.getEl().shadow;            <b>if</b> (s) {                s.realign(<b>this</b>.x, <b>this</b>.y, pel.getWidth(), pel.getHeight());            }        },<i>//      Called on the mouseup event.</i>        endDrag : <b>function</b>(e){            <b>this</b>.panel.setPosition(<b>this</b>.x, <b>this</b>.y);        }    }}).show();</code></pre>            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Panel" ext:member="#draggable" href="output/Ext.Panel.html#draggable">Panel</a></td>
    </tr>
        <tr class="config-row">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.tree.TreePanel-dropConfig"></a>
            <b>dropConfig</b> : Object            <div class="mdesc">
                            Custom config to pass to the <a ext:cls="Ext.tree.TreeDropZone" href="output/Ext.tree.TreeDropZone.html">Ext.tree.TreeDropZone</a> instance                        </div>
        </td>
        <td class="msource">TreePanel</td>
    </tr>
        <tr class="config-row alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.tree.TreePanel-enableDD"></a>
            <b>enableDD</b> : Boolean            <div class="mdesc">
                            true to enable drag and drop                        </div>
        </td>
        <td class="msource">TreePanel</td>
    </tr>
        <tr class="config-row">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.tree.TreePanel-enableDrag"></a>
            <b>enableDrag</b> : Boolean            <div class="mdesc">
                            true to enable just drag                        </div>

⌨️ 快捷键说明

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