⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 biselectionmodel.xml

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 XML
📖 第 1 页 / 共 2 页
字号:
			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="handleClick">			<description>This should be called when the user clicks on an item</description>			<arguments>				<argument name="oItem">					<description>The item that was clicked</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>				<argument name="e">					<description>The mouse event used in the click event</description>					<type>						<link class="BiMouseEvent">BiMouseEvent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="handleDblClick">			<description>This should be called when the user double clicks on an item</description>			<arguments>				<argument name="oItem">					<description>The item that was double clicked</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>				<argument name="e">					<description>The mouse event used in the dblclick event</description>					<type>						<link class="BiMouseEvent">BiMouseEvent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="handleMouseOver">			<description>This should be called when the user moves the mouse over an item</description>			<arguments>				<argument name="oItem">					<description>The item that the mouse over was triggered on</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>				<argument name="e">					<description>The mouse event used in the mouse over event</description>					<type>						<link class="BiMouseEvent">BiMouseEvent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="handleKeyDown">			<description>This should be called when the user presses down a key on the component</description>			<arguments>				<argument name="e">					<description>The keyboard event used in the key down event</description>					<type>						<link class="BiKeyboardEvent">BiKeyboardEvent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>void</type>			</returns>		</method>		<method name="getHome">			<description>Returns the item to navigate to when the home key is pressed. This should usually just return the first item.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getCtrlHome">			<description>Returns the item to navigate to when the home key and the control key is pressed. This should usually just return the first item.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getEnd">			<description>Returns the item to navigate to when the end key is pressed. This should usually just return the last item.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getCtrlEnd">			<description>Returns the item to navigate to when the end key and the control key is pressed. This should usually just return the last item.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getDown">			<description>Returns the item to navigate to when the down arrow key is pressed. This should usually just return the item below the current one.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getUp">			<description>Returns the item to navigate to when the up arrow key is pressed. This should usually just return the item above the current one.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getLeft">			<description>Returns the item to navigate to when the left arrow key is pressed. This should usually just return the item to the left of the current one.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getRight">			<description>Returns the item to navigate to when the right arrow key is pressed. This should usually just return the item to the right of the current one.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getPageUp">			<description>Returns the item to navigate to when the page up key is pressed.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getPageDown">			<description>Returns the item to navigate to when the page down is pressed.</description>			<arguments>				<argument name="oItem">					<description>The item that we want to get the new item relative to</description>					<type>						<link class="BiComponent">BiComponent</link>/Object</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>		<method name="getItemToSelect">			<description>Returns the next item to select (move to) when using the keyboard. Usually it is enough to override the needed methods among these: getLeft, getRight, getUp, getDown, getHome, getCtrlHome, getEnd, getCtrlEnd, getpageUp and getPageDown.</description>			<arguments>				<argument name="oKeyboardEvent">					<description>The event object used for the keyboard event</description>					<type>						<link class="BiKeyboardEvent">BiKeyboardEvent</link>					</type>				</argument>			</arguments>			<returns>				<type>					<link class="BiComponent">BiComponent</link>/Object</type>			</returns>		</method>	</methods>	<properties>		<property name="owner" get="true" set="true">			<description>This is the owner component that is containing the selectable objects. This should not be set after the selection model has been used</description>			<type>				<link class="BiComponent">BiComponent</link>			</type>		</property>		<property name="multipleSelection" get="true" set="true">			<description>Whether the selection model supports multiple selection</description>			<type>Boolean</type>		</property>		<property name="canDeselect" get="true" set="true">			<description>Whether the user can deselect items. If this is false you need to select something else to deselect an item</description>			<type>Boolean</type>		</property>		<property name="dragSelection" get="true" set="true">			<description>Drag selection is used to hold down the mouse to select mutliple items</description>			<type>Boolean</type>		</property>		<property name="first" get="true">			<description>Returns the first selectable item</description>			<type>				<link class="BiComponent">BiComponent</link>/Object</type>		</property>		<property name="last" get="true">			<description>Returns the last selectable item</description>			<type>				<link class="BiComponent">BiComponent</link>/Object</type>		</property>		<property name="items" get="true">			<description>Returns an array containing the items</description>			<type>				<link class="BiComponent">BiComponent[]</link>/Object[]</type>		</property>		<property name="anchorItem" get="true" set="true">			<description>This item is used when doing multiple selection with the shift key</description>			<type>				<link class="BiComponent">BiComponent</link>/Object</type>		</property>		<property name="leadItem" get="true" set="true">			<description>This item is used when doing multiple selection. This is the last item selected.</description>			<type>				<link class="BiComponent">BiComponent</link>/Object</type>		</property>		<property name="selectedItems" get="true" set="true">			<description>Returns an array containing the selected items</description>			<type>				<link class="BiComponent">BiComponent[]</link>/Object[]</type>		</property>	</properties>	<events>		<event name="change">			<description>Fires when the selected items are changed</description>			<type>				<link class="BiEvent">BiEvent</link>			</type>		</event>		<event name="leaditemchange">			<description>Fires when the lead item is changed</description>			<type>				<link class="BiEvent">BiEvent</link>			</type>		</event>	</events>	<remarks>You need to add event listeners to the owner that calls 			<link>handleKeyDown</link>, <link>handleMouseDown</link>,          <link>handleMouseUp</link>, <link>handleMouseOver</link>, <link>handleClick</link> and          <link>handleDblClick</link>.</remarks></class>

⌨️ 快捷键说明

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