bitreeviewselectionmodel.xml
来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· XML 代码 · 共 190 行
XML
190 行
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiTreeViewSelectionModel" extends="BiSelectionModel"> <description>Selection model for<link class="BiTreeView">BiTreeView</link>. The selection model can operate in 2 modes: cell or row. The selected cells/rows are identified by the row index/column index in the data model. The items in the selectedItems hash are of type<link class="BiTreeViewSelectionModelItem">BiTreeViewSelectionModelItem</link> </description> <arguments> <argument name="oOwner"> <description>The tree view that the selection is working with</description> <type> <link class="BiTreeView">BiTreeView</link> </type> </argument> </arguments> <staticMethods> </staticMethods> <staticFields> </staticFields> <methods> <method name="containsSelectedNodes"> <description>Checks whether the item has any selected descendants</description> <arguments> <argument name="oItem"> <description>The item of the check the descendants for</description> <type> <link class="BiTreeViewSelectionModelItem">BiTreeViewSelectionModelItem</link> </type> </argument> </arguments> <returns> <type>Boolean</type> </returns> </method> <method name="getRowSelected"> <description>Returns whether the row at y is selected</description> <arguments> <argument name="y"> <description>The index of the row to check</description> <type>Number</type> </argument> </arguments> <returns> <type>Boolean</type> </returns> </method> <method name="setRowSelected"> <description>Sets the selected state for the row at y</description> <arguments> <argument name="y"> <description>The index of the row to select or deselect</description> <type>Number</type> </argument> <argument name="b"> <description>Whether to select or deselect the row</description> <type>Boolean</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="getCellSelected"> <description>Returns whether the cell at (x, y) is selected</description> <arguments> <argument name="x"> <description>The column index of the cell to check</description> <type>Number</type> </argument> <argument name="y"> <description>The row index of the cell to check</description> <type>Number</type> </argument> </arguments> <returns> <type>Boolean</type> </returns> </method> <method name="setCellSelected"> <description>Sets the selected state for the cell at x, y</description> <arguments> <argument name="x"> <description>The column index of the cell to select or deselect</description> <type>Number</type> </argument> <argument name="y"> <description>The row index of the cell to select or deselect</description> <type>Number</type> </argument> <argument name="b"> <description>Whether to select or deselect the cell</description> <type>Boolean</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="getRowIsLead"> <description>Returns whether the row at y is the lead item</description> <arguments> <argument name="y"> <description>The index of the row to check</description> <type>Number</type> </argument> </arguments> <returns> <type>Boolean</type> </returns> </method> <method name="getCellIsLead"> <description>Returns whether the cell at (x, y) is the lead item</description> <arguments> <argument name="x"> <description>The column index of the cell to check</description> <type>Number</type> </argument> <argument name="y"> <description>The row index of the cell to check</description> <type>Number</type> </argument> </arguments> <returns> <type>Boolean</type> </returns> </method> <method name="getCellIsAnchor"> <description>Returns whether the cell at (x, y) is the anchor item</description> <arguments> <argument name="x"> <description>The column index of the cell to check</description> <type>Number</type> </argument> <argument name="y"> <description>The row index of the cell to check</description> <type>Number</type> </argument> </arguments> <returns> <type>Boolean</type> </returns> </method> <method name="adjustSelection"> <description>This method is called before items are inserted/removed into/from the data model so that the selected rows can be updated. If nCount is negative nRow to nRow - nCount -1 are removed. If nCount is positive nCount rows are added at nRow</description> <arguments> <argument name="nRow"> <description>The index of the row where the change starts</description> <type>Number</type> </argument> <argument name="nCount"> <description>The number of rows added (use negative numbers when removing)</description> <type>Number</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> </methods> <properties> <property name="selectionMode" get="true" set="true"> <description>Whether to use row selection or cell selection. Valid values are "row" and "cell"</description> <type>String</type> </property> <property name="viewManager" get="true"> <description>The view manager used with the tree view</description> <type> <link class="BiTreeViewViewManager">BiTreeViewViewManager</link> </type> </property> <property name="dataModel" get="true"> <description>The view manager used with the tree view</description> <type> <link class="BiTreeViewDataModel">BiTreeViewDataModel</link> </type> </property> </properties> <events> </events> <remarks> </remarks></class>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?