亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? biselectionmodel.html

?? 在流覽器上仿CS界面的JAVASCRIPT腳本
?? HTML
?? 第 1 頁 / 共 3 頁
字號:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><!--
Generated using api.website.xsl version 2003-07-17
-->
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>BiSelectionModel</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="api.css"><script type="text/javascript">

				function showDerivedClasses() {
					var ul = document.getElementById("api-derived-classes");
					var lis = ul.childNodes;
					var l = lis.length;
					for (var i = 1; i < l; i++)
						lis[i].style.display = "";
					lis[0].style.display = "none";
				}

			</script></head>
<body>
<h1 id="BiSelectionModel">BiSelectionModel</h1>
<p>
		This class handles provides a basic selection model<br>
<br>
This treats <code><a href="BiComponent.html#children">children</a></code> as
selectable items inside a <code><a href="BiComponent.html">component</a></code>. The items can
be of any type but if it they are not <code><a href="BiComponent.html">BiComponents</a></code> you
will have to override the following methods and properties: <code><a href="#first">first</a></code>,
<code><a href="#last">last</a></code>, <code><a href="#items">items</a></code>, <code><a href="#getNext">getNext</a></code>, <code><a href="#getPrevious">getPrevious</a></code>,
<code><a href="#getItemHashCode">getItemHashCode</a></code>, <code><a href="#scrollItemIntoView">scrollItemIntoView</a></code>,
<code><a href="#getItemLeft">getItemLeft</a></code>, <code><a href="#getItemTop">getItemTop</a></code>, <code><a href="#getItemWidth">getItemWidth</a></code>
and <code><a href="#getItemHeight">getItemHeight</a></code>.<br>
<br>
To update the visuals (to show what is selected) override the following
methods: <code><a href="#updateItemSelectionState">updateItemSelectionState</a></code>, <code><a href="#updateItemAnchorState">updateItemAnchorState</a></code>
and <code><a href="#updateItemLeadState">updateItemLeadState</a></code>.

	</p>
<p>This class extends
		<code><a href="BiEventTarget.html">BiEventTarget</a></code>
		and therefore all methods and fields available for
		<code><a href="BiEventTarget.html">BiEventTarget</a></code>
		are also available for <code>BiSelectionModel</code>.</p>
<ul class="partial-class-tree">
<li><code><a href="BiObject.html">BiObject</a></code><ul>
<li><code><a href="BiEventTarget.html">BiEventTarget</a></code><ul><li><code>BiSelectionModel</code><ul id="api-derived-classes"><li><code><a href="BiGridSelectionModel.html">BiGridSelectionModel</a></code></li><li><code><a href="BiListSelectionModel.html">BiListSelectionModel</a></code></li><li><code><a href="BiTreeSelectionModel.html">BiTreeSelectionModel</a></code></li><li><code><a href="BiTreeViewSelectionModel.html">BiTreeViewSelectionModel</a></code></li></ul></li></ul></li></ul>
</li>
</ul>
<h2>Constructor</h2>
<p><code>

	new BiSelectionModel(<span class="methodArgument">oOwner</span>)</code></p>
<h3>Parameters</h3>
<table>
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td class="optional-header">Optional</td>
<td>Default</td>
<td>Descripton</td>
</tr>
</thead>
<tbody>
<tr>
<td><code>oOwner</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent</a></code></code></td>
<td class="optional-column"></td>
<td></td>
<td>
				This is the component the selection model is handling
			</td>
</tr>
</tbody>
</table>
<h2>Properties</h2>
<table>
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td class="get-header">get</td>
<td class="set-header">set</td>
<td>Descripton</td>
</tr>
</thead>
<tbody>
<tr>
<td><a name="anchorItem"></a><code>anchorItem</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent</a></code>/Object</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"><img src="check.png" alt="checked"></td>
<td>This item is used when doing multiple selection with the shift key</td>
</tr>
<tr>
<td><a name="first"></a><code>first</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent</a></code>/Object</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>Returns the first item</td>
</tr>
<tr>
<td><a name="items"></a><code>items</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent[]</a></code>/Object[]</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>Returns an array containing the items</td>
</tr>
<tr>
<td><a name="last"></a><code>last</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent</a></code>/Object</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>Returns the last item</td>
</tr>
<tr>
<td><a name="leadItem"></a><code>leadItem</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent</a></code>/Object</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"><img src="check.png" alt="checked"></td>
<td>This item is used when doing multiple selection. This is the last item selected.</td>
</tr>
<tr>
<td><a name="multipleSelection"></a><code>multipleSelection</code></td>
<td><code class="type">Boolean</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"><img src="check.png" alt="checked"></td>
<td>Whethert the selection model supports multiple selection</td>
</tr>
<tr>
<td><a name="owner"></a><code>owner</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent</a></code>/Object</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"><img src="check.png" alt="checked"></td>
<td>This is the owner component that is
			containing the selectable objects. This should not be set after the
			selection model has been used</td>
</tr>
<tr>
<td><a name="selectedItems"></a><code>selectedItems</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent[]</a></code>/Object[]</code></td>
<td class="get-column"><img src="check.png" alt="checked"></td>
<td class="set-column"></td>
<td>Returns an array containing the selected items</td>
</tr>
</tbody>
</table>
<h2>Methods</h2>
<table>
<thead>
<tr>
<td>Name</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td><code><a href="#deselectAll">deselectAll</a></code></td>
<td>Deselects all items</td>
</tr>
<tr>
<td><code><a href="#getCtrlEnd">getCtrlEnd</a></code></td>
<td>
				Returns the item to navigate to when the end key and the control
				key is pressed. This should usually just return the last item.
			</td>
</tr>
<tr>
<td><code><a href="#getCtrlHome">getCtrlHome</a></code></td>
<td>
				Returns the item to navigate to when the home key and the
				control key is pressed. This should usually just return the first item.
			</td>
</tr>
<tr>
<td><code><a href="#getDown">getDown</a></code></td>
<td>
				Returns the item to navigate to when the down arrow key is pressed.
				This should usually just return the item below the current one.
			</td>
</tr>
<tr>
<td><code><a href="#getEnd">getEnd</a></code></td>
<td>
				Returns the item to navigate to when the end key is pressed.
				This should usually just return the last item.
			</td>
</tr>
<tr>
<td><code><a href="#getHome">getHome</a></code></td>
<td>
				Returns the item to navigate to when the home key is pressed.
				This should usually just return the first item.
			</td>
</tr>
<tr>
<td><code><a href="#getItemHashCode">getItemHashCode</a></code></td>
<td>
				Returns a unique identifier for the item. Override this if your
				items are not instances of <code><a href="BiObject.html">BiObject</a></code>.
			</td>
</tr>
<tr>
<td><code><a href="#getItemHeight">getItemHeight</a></code></td>
<td>
				Returns the height of the item
			</td>
</tr>
<tr>
<td><code><a href="#getItemLeft">getItemLeft</a></code></td>
<td>
				Returns the left position of the item
			</td>
</tr>
<tr>
<td><code><a href="#getItemSelected">getItemSelected</a></code></td>
<td>
				Returns whether the item is selected or not.
			</td>
</tr>
<tr>
<td><code><a href="#getItemTop">getItemTop</a></code></td>
<td>
				Returns the top position of the item
			</td>
</tr>
<tr>
<td><code><a href="#getItemToSelect">getItemToSelect</a></code></td>
<td>
				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.
			</td>
</tr>
<tr>
<td><code><a href="#getItemWidth">getItemWidth</a></code></td>
<td>
				Returns the width of the item
			</td>
</tr>
<tr>
<td><code><a href="#getLeft">getLeft</a></code></td>
<td>
				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.
			</td>
</tr>
<tr>
<td><code><a href="#getNext">getNext</a></code></td>
<td>Gets the item coming next after the item</td>
</tr>
<tr>
<td><code><a href="#getPageDown">getPageDown</a></code></td>
<td>
				Returns the item to navigate to when the page down is pressed.
			</td>
</tr>
<tr>
<td><code><a href="#getPageUp">getPageUp</a></code></td>
<td>
				Returns the item to navigate to when the page up key is pressed.
			</td>
</tr>
<tr>
<td><code><a href="#getPrevious">getPrevious</a></code></td>
<td>Gets the item coming before after the item</td>
</tr>
<tr>
<td><code><a href="#getRight">getRight</a></code></td>
<td>
				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.
			</td>
</tr>
<tr>
<td><code><a href="#getUp">getUp</a></code></td>
<td>
				Returns the item to navigate to when the up arrow key is pressed.
				This should usually just return the item above the current one.
			</td>
</tr>
<tr>
<td><code><a href="#handleClick">handleClick</a></code></td>
<td>
				This should be called when the user clicks on an item
			</td>
</tr>
<tr>
<td><code><a href="#handleDblClick">handleDblClick</a></code></td>
<td>
				This should be called when the user double clicks on an item
			</td>
</tr>
<tr>
<td><code><a href="#handleKeyDown">handleKeyDown</a></code></td>
<td>
				This should be called when the user presses down a key on the component
			</td>
</tr>
<tr>
<td><code><a href="#handleMouseDown">handleMouseDown</a></code></td>
<td>
				This should be called when the user pressed down the mouse button on an item
			</td>
</tr>
<tr>
<td><code><a href="#handleMouseUp">handleMouseUp</a></code></td>
<td>
				This should be called when the user releases the mouse button on an item
			</td>
</tr>
<tr>
<td><code><a href="#isBefore">isBefore</a></code></td>
<td>
				Returns whether the first item is before the second item in the component.
			</td>
</tr>
<tr>
<td><code><a href="#isEqual">isEqual</a></code></td>
<td>
				Compares two items and returns true if they are equal. Override this
			</td>
</tr>
<tr>
<td><code><a href="#scrollItemIntoView">scrollItemIntoView</a></code></td>
<td>
				Scrolls the owner so that the item becomes visible.
			</td>
</tr>
<tr>
<td><code><a href="#selectAll">selectAll</a></code></td>
<td>Selects all items</td>
</tr>
<tr>
<td><code><a href="#selectItemRange">selectItemRange</a></code></td>
<td>
				Selects the items passed as arguments and all the items between them
			</td>
</tr>
<tr>
<td><code><a href="#setItemSelected">setItemSelected</a></code></td>
<td>
				Sets the item as selected (or deselected) and also updates the
				selected items collection.
			</td>
</tr>
<tr>
<td><code><a href="#updateItemAnchorState">updateItemAnchorState</a></code></td>
<td>
				This is called when the anchor state of the item has changed.
				Override this to update the visuals to reflect the anchor state.
			</td>
</tr>
<tr>
<td><code><a href="#updateItemLeadState">updateItemLeadState</a></code></td>
<td>
				This is called when the lead state of the item has changed.
				Override this to update the visuals to reflect the lead state.
			</td>
</tr>
<tr>
<td><code><a href="#updateItemSelectionState">updateItemSelectionState</a></code></td>
<td>
				This is called when the selection state of the item has changed.
				Override this to update the visuals to reflect the selected state.
			</td>
</tr>
</tbody>
</table>
<h2>Events</h2>
<table>
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td class="bubbles-header">Bubbles</td>
<td>Descripton</td>
</tr>
</thead>
<tbody>
<tr>
<td><a name="change"></a><code>change</code></td>
<td><code class="type"><code><a href="BiEvent.html">BiEvent</a></code></code></td>
<td class="bubbles-column"></td>
<td>Fires when the selected items are changed</td>
</tr>
</tbody>
</table>
<h2>Static Methods</h2>
<p>None.</p>
<h2>Static Fields</h2>
<p>None.</p>
<h2>Remarks</h2>
<p>
		You need to add event listeners to the owner that calls
		<code><a href="#handleKeyDown">handleKeyDown</a></code>, <code><a href="#handleMouseDown">handleMouseDown</a></code>,
		<code><a href="#handleMouseUp">handleMouseUp</a></code>, <code><a href="#handleClick">handleClick</a></code> and
		<code><a href="#handleDblClick">handleDblClick</a></code>.
	</p>
<h2>Method Details</h2>
<h3><a name="deselectAll"></a>deselectAll</h3>
<p>Deselects all items</p>
<h4>Syntax</h4>
<pre class="method-syntax">object.deselectAll()</pre>
<h4>Parameters</h4>
<p>No arguments.</p>
<h4>Return Type</h4>
<p><code class="type">void</code></p>
<h3><a name="getCtrlEnd"></a>getCtrlEnd</h3>
<p>
				Returns the item to navigate to when the end key and the control
				key is pressed. This should usually just return the last item.
			</p>
<h4>Syntax</h4>
<pre class="method-syntax">object.getCtrlEnd(<span class="methodArgument">oItem</span>)</pre>
<h4>Parameters</h4>
<table>
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td class="optional-header">Optional</td>
<td>Default</td>
<td>Descripton</td>
</tr>
</thead>
<tbody>
<tr>
<td><code>oItem</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent</a></code>/Object</code></td>
<td class="optional-column"></td>
<td></td>
<td>The item that we want to get the new item relative to</td>
</tr>
</tbody>
</table>
<h4>Return Type</h4>
<p><code class="type"><code><a href="BiComponent.html">BiComponent</a></code>/Object</code></p>
<h3><a name="getCtrlHome"></a>getCtrlHome</h3>
<p>
				Returns the item to navigate to when the home key and the
				control key is pressed. This should usually just return the first item.
			</p>
<h4>Syntax</h4>
<pre class="method-syntax">object.getCtrlHome(<span class="methodArgument">oItem</span>)</pre>
<h4>Parameters</h4>
<table>
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td class="optional-header">Optional</td>
<td>Default</td>
<td>Descripton</td>
</tr>
</thead>
<tbody>
<tr>
<td><code>oItem</code></td>
<td><code class="type"><code><a href="BiComponent.html">BiComponent</a></code>/Object</code></td>
<td class="optional-column"></td>
<td></td>
<td>The item that we want to get the new item relative to</td>
</tr>
</tbody>
</table>
<h4>Return Type</h4>
<p><code class="type"><code><a href="BiComponent.html">BiComponent</a></code>/Object</code></p>
<h3><a name="getDown"></a>getDown</h3>
<p>
				Returns the item to navigate to when the down arrow key is pressed.
				This should usually just return the item below the current one.
			</p>
<h4>Syntax</h4>
<pre class="method-syntax">object.getDown(<span class="methodArgument">oItem</span>)</pre>
<h4>Parameters</h4>
<table>
<thead>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
图片区小说区区亚洲影院| 亚洲男帅同性gay1069| 欧美日韩国产精品自在自线| 国产1区2区3区精品美女| 东方欧美亚洲色图在线| 成人性生交大片免费看视频在线| 国产精品自拍网站| 国产91丝袜在线18| 91片在线免费观看| 欧美亚洲国产一区在线观看网站| 在线看国产一区二区| 在线观看91av| 精品理论电影在线| 国产三级精品在线| 亚洲精选一二三| 午夜激情综合网| 国产一区二区三区在线观看免费| 成人av在线一区二区| 91麻豆免费观看| 3d成人动漫网站| 久久久三级国产网站| 亚洲精品视频免费看| 日韩成人免费看| 高清不卡在线观看av| 欧美中文字幕一二三区视频| 日韩你懂的电影在线观看| 国产精品区一区二区三| 午夜婷婷国产麻豆精品| 丁香啪啪综合成人亚洲小说| 欧美在线你懂得| 国产亚洲人成网站| 午夜电影网一区| 成人精品鲁一区一区二区| 3d动漫精品啪啪1区2区免费| 中文字幕免费不卡在线| 日韩精品高清不卡| 91在线观看高清| 欧美电视剧在线观看完整版| 亚洲精品大片www| 国产毛片精品一区| 欧美三片在线视频观看 | 亚洲h在线观看| 国产一区欧美日韩| 精品婷婷伊人一区三区三| 欧美经典一区二区| 蜜臀国产一区二区三区在线播放| av亚洲精华国产精华精华| 精品国产乱码久久久久久蜜臀 | 欧美一区二区视频在线观看| 国产精品私人影院| 精一区二区三区| 精品视频一区二区不卡| ...中文天堂在线一区| 国产在线精品免费av| 日韩一区二区免费视频| 亚洲综合激情小说| 色婷婷国产精品久久包臀| 国产精品视频免费看| 国产在线国偷精品免费看| 正在播放亚洲一区| 亚洲福利一二三区| 欧美在线制服丝袜| 亚洲主播在线播放| 欧美亚洲一区二区在线观看| 亚洲素人一区二区| 色婷婷亚洲综合| 亚洲精品老司机| 91国产精品成人| 一区二区三区久久久| 91麻豆福利精品推荐| 亚洲欧美日韩系列| 色女孩综合影院| 夜夜精品浪潮av一区二区三区| 色综合色综合色综合色综合色综合| 国产日本欧洲亚洲| 不卡视频在线观看| 亚洲人快播电影网| 一本一道久久a久久精品| 亚洲精品乱码久久久久久久久| 91福利在线播放| 视频在线观看一区二区三区| 欧美一区三区四区| 国精品**一区二区三区在线蜜桃| 亚洲精品一区二区三区在线观看| 国产精品一区二区x88av| 中文字幕乱码久久午夜不卡 | 成人激情开心网| 亚洲视频 欧洲视频| 91黄色免费看| 日韩中文字幕不卡| 久久夜色精品国产欧美乱极品| 国产一区二区中文字幕| 国产精品久久久久影视| 欧美性一级生活| 另类综合日韩欧美亚洲| 国产精品久久久久久久第一福利 | 国内偷窥港台综合视频在线播放| 欧美精品一区二区三区在线播放 | 日本午夜一区二区| 精品盗摄一区二区三区| 成人高清在线视频| 亚洲一区二区偷拍精品| 欧美不卡一区二区| 成人91在线观看| 日本va欧美va精品发布| 日本一区二区免费在线观看视频 | 国产乱码精品一品二品| 最近日韩中文字幕| 日韩一二三区不卡| 99久久国产免费看| 久久国内精品自在自线400部| 国产精品欧美极品| 欧美老肥妇做.爰bbww视频| 国产精品一区二区男女羞羞无遮挡 | 成人爽a毛片一区二区免费| 一区二区三区产品免费精品久久75| 91精选在线观看| 国产suv一区二区三区88区| 午夜视频久久久久久| 国产精品久久99| 精品国产亚洲在线| 51精品视频一区二区三区| 99久久精品费精品国产一区二区| 美女网站在线免费欧美精品| 中文字幕日本乱码精品影院| 精品国产精品一区二区夜夜嗨| 欧美综合久久久| av在线播放一区二区三区| 国产乱码精品一区二区三| 日本视频在线一区| 香蕉久久夜色精品国产使用方法 | a亚洲天堂av| 国产一区视频网站| 久久精品国产99国产| 天堂一区二区在线| 亚洲综合成人在线| 一区二区免费在线播放| 最新国产精品久久精品| 国产精品免费av| 国产午夜亚洲精品不卡| 久久久一区二区| 7777精品伊人久久久大香线蕉超级流畅 | 久久超级碰视频| 美女网站一区二区| 裸体健美xxxx欧美裸体表演| 日韩avvvv在线播放| 午夜精品成人在线| 日韩一区精品视频| 亚洲大片在线观看| 三级久久三级久久久| 亚洲成人手机在线| 五月天视频一区| 无码av免费一区二区三区试看| 亚洲一区二区视频在线观看| 亚洲最快最全在线视频| 亚洲高清免费视频| 亚洲小说欧美激情另类| 亚洲福利视频导航| 日韩福利电影在线观看| 美腿丝袜亚洲综合| 韩国中文字幕2020精品| 国产一区二区视频在线| 国产99精品国产| 色嗨嗨av一区二区三区| 欧美日韩一区二区三区在线看| 欧美日韩午夜精品| 欧美videos中文字幕| 久久精品亚洲乱码伦伦中文 | 亚洲自拍偷拍网站| 美女性感视频久久| 国产99精品国产| 在线观看不卡视频| 日韩三级av在线播放| 欧美国产一区视频在线观看| 专区另类欧美日韩| 日韩**一区毛片| 高清在线不卡av| 欧美日韩国产高清一区二区| 欧美成人官网二区| 最新中文字幕一区二区三区| 亚洲国产中文字幕| 国产一区在线视频| 欧美亚洲综合一区| 久久综合久色欧美综合狠狠| 亚洲欧美影音先锋| 久久成人18免费观看| 一本大道av一区二区在线播放| 日韩一区二区视频| 亚洲人吸女人奶水| 国产精品91xxx| 欧美区在线观看| 国产精品视频一二三| 日韩电影一二三区| 色哟哟一区二区三区| 国产亚洲女人久久久久毛片| 亚洲午夜激情av| 99精品桃花视频在线观看| 91精品国产综合久久久蜜臀粉嫩 | 亚洲国产日韩在线一区模特| 狠狠色丁香九九婷婷综合五月 |