📄 bitreeviewbase.xml
字号:
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="api.xsl"?><class name="BiTreeViewBase" extends="BiComponent"> <description>This is the abstract base class for<link class="BiTreeView">BiTreeView</link> and<link class="BiOlapGrid">BiOlapGrid</link>. It contains the shared methods and implementations of these 2 classes</description> <arguments> </arguments> <staticMethods> </staticMethods> <staticFields> </staticFields> <methods> <method name="update"> <description>This updates the tree view or OLAP grid. This should be called when the data model or the view manager changes.</description> <arguments> </arguments> <returns> <type>void</type> </returns> </method> <method name="updateCell"> <description>This updates the cell. This redraws the content and updates the styles for the cell.</description> <arguments> <argument name="x"> <description>The index of the column</description> <type>Number</type> </argument> <argument name="y"> <description>The index of the row</description> <type>Number</type> </argument> </arguments> <returns> <type>void</type> </returns> </method> <method name="getCellInfoFromMouseEvent"> <description>This takes a mouse event object and returns a cell info describing the cell that is related to the mouse event</description> <arguments> <argument name="e"> <description>The event object used in the mouse event</description> <type> <link class="BiMouseEvent">BiMouseEvent</link> </type> </argument> </arguments> <returns> <type> <link class="BiTreeViewCellInfo">BiTreeViewCellInfo</link>/BiOlapGridCellInfo</type> </returns> </method> </methods> <properties> <property name="useNativeScrollBars" get="true" set="true"> <description>Whether to use native or custom scroll bars. Custom scroll bars are needed/preferred when the tree view/grid has an attached component model or inline edit model.<br> </br> <br> </br> If you want to change this it is better to change it before the component has been created.</description> <type>Boolean</type> </property> <property name="selectionModel" get="true" set="true"> <description>The selection model handling the selected rows and cells</description> <type> <link class="BiTreeViewSelectionModel">BiTreeViewSelectionModel</link>/BiOlapGridSelectionModel</type> </property> <property name="viewManager" get="true" set="true"> <description>The view manager handles visual aspects that are not directly related to the data model</description> <type> <link class="BiTreeViewViewManager">BiTreeViewViewManager</link>/BiOlapGridViewManager</type> </property> <property name="stateManager" get="true"> <description>The state manager keeps track of where the mouse is currently located inside the tree and grid.</description> <type> <link class="BiTreeViewStateManager">BiTreeViewStateManager</link>/BiOlapGridStateManager</type> </property> <property name="dataModel" get="true" set="true"> <description>The data model describes the data to be shown in the tree view and OLAP grid</description> <type> <link class="BiTreeViewDataModel">BiTreeViewDataModel</link>/BiOlapGridDataModel</type> </property> <property name="inlineEditModel" get="true" set="true"> <description>The inline edit model is used to handle editing of cells in the tree view.</description> <type> <link class="BiInlineEditModel">BiInlineEditModel</link> </type> </property> <property name="attachedComponentModel" get="true" set="true"> <description>The attached component model is used to handle Bindows components inside the cells of the tree view.</description> <type> <link class="BiAttachedComponentModel">BiAttachedComponentModel</link> </type> </property> <property name="scrollLeftExact" get="true"> <description>This returns the exact scroll position. scrollLeft on the other hand returns the scroll position where the first visible row starts at</description> <type>Number</type> </property> <property name="scrollTopExact" get="true"> <description>This returns the exact scroll position. scrollTop on the other hand returns the scroll position where the first visible row starts at</description> <type>Number</type> </property> </properties> <events> </events> <remarks> </remarks></class>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -