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

📄 bikeyboardevent.html

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 HTML
字号:
<!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>BiKeyboardEvent</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="BiKeyboardEvent">BiKeyboardEvent</h1><p>		This class describes event object used in keyboard events.<br>		<br>		All keyboard events bubble by default. This means that once all the		event listeners have been notified 	the event propagates to the parent		<code><a href="BiComponent.html">BiComponent</a></code>. To prevent the event to		bubble to the parent call <code><a href="BiEvent.html#stopPropagation">		stopPropagation()</a></code> on the event object.<br>		<br>		The currently supported keyboard events by <code><a href="BiComponent.html">BiComponent</a></code>		are:<br>		<br>		<code><a href="BiComponent.html#keydown">keydown</a></code><br>		<code><a href="BiComponent.html#keypress">keypress</a></code><br>		<code><a href="BiComponent.html#keyup">keyup</a></code><br>		<br>		This object should not be created by the user. It is created as needed by the event system.	</p><p>This class extends		<code><a href="BiEvent.html">BiEvent</a></code>		and therefore all methods and fields available for		<code><a href="BiEvent.html">BiEvent</a></code>		are also available for <code>BiKeyboardEvent</code>.</p><ul class="partial-class-tree"><li><code><a href="BiObject.html">BiObject</a></code><ul><li><code><a href="BiEvent.html">BiEvent</a></code><ul><li><code>BiKeyboardEvent</code><ul id="api-derived-classes"></ul></li></ul></li></ul></li></ul><h2>Constructor</h2><p><code>	new BiKeyboardEvent(<span class="methodArgument">sType</span>, <span class="methodArgument">oBrowserEvent</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>sType</code></td><td><code class="type">String</code></td><td class="optional-column"></td><td></td><td>The type (name) of the event</td></tr><tr><td><code>oBrowserEvent</code></td><td><code class="type">Object</code></td><td class="optional-column"></td><td></td><td>This is the internal browser event object.</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="altKey"></a><code>altKey</code></td><td><code class="type">Boolean</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Whether the alt key pressed</td></tr><tr><td><a name="ctrlKey"></a><code>ctrlKey</code></td><td><code class="type">Boolean</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Whether the ctrl key pressed</td></tr><tr><td><a name="keyCode"></a><code>keyCode</code></td><td><code class="type">Number</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>A number representing the key used</td></tr><tr><td><a name="shiftKey"></a><code>shiftKey</code></td><td><code class="type">Boolean</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Whether the shift key pressed</td></tr></tbody></table><h2>Methods</h2><p>None.</p><h2>Events</h2><p>None.</p><h2>Static Methods</h2><p>None.</p><h2>Static Fields</h2><table><thead><tr><td>Name</td><td>Type</td><td>Descripton</td></tr></thead><tbody><tr><td><code>ALT</code></td><td><code class="type">Number</code></td><td>The key code used for the ALT key.</td></tr><tr><td><code>BACKSPACE</code></td><td><code class="type">Number</code></td><td>The key code used for the BACKSPACE key.</td></tr><tr><td><code>CONTROL</code></td><td><code class="type">Number</code></td><td>The key code used for the CONTROL key. Same as CTRL</td></tr><tr><td><code>CTRL</code></td><td><code class="type">Number</code></td><td>The key code used for the CTRL key.</td></tr><tr><td><code>DEL</code></td><td><code class="type">Number</code></td><td>The key code used for the DEL key.</td></tr><tr><td><code>DELETE</code></td><td><code class="type">Number</code></td><td>The key code used for the DELETE key. Same as DEL</td></tr><tr><td><code>DOWN</code></td><td><code class="type">Number</code></td><td>The key code used for the DOWN key.</td></tr><tr><td><code>END</code></td><td><code class="type">Number</code></td><td>The key code used for the END key.</td></tr><tr><td><code>ENTER</code></td><td><code class="type">Number</code></td><td>The key code used for the ENTER key.</td></tr><tr><td><code>ESC</code></td><td><code class="type">Number</code></td><td>The key code used for the ESC key.</td></tr><tr><td><code>F1</code></td><td><code class="type">Number</code></td><td>The key code used for the F1 key.</td></tr><tr><td><code>F10</code></td><td><code class="type">Number</code></td><td>The key code used for the F10 key.</td></tr><tr><td><code>F11</code></td><td><code class="type">Number</code></td><td>The key code used for the F11 key.</td></tr><tr><td><code>F12</code></td><td><code class="type">Number</code></td><td>The key code used for the F12 key.</td></tr><tr><td><code>F2</code></td><td><code class="type">Number</code></td><td>The key code used for the F2 key.</td></tr><tr><td><code>F3</code></td><td><code class="type">Number</code></td><td>The key code used for the F3 key.</td></tr><tr><td><code>F4</code></td><td><code class="type">Number</code></td><td>The key code used for the F4 key.</td></tr><tr><td><code>F5</code></td><td><code class="type">Number</code></td><td>The key code used for the F5 key.</td></tr><tr><td><code>F6</code></td><td><code class="type">Number</code></td><td>The key code used for the F6 key.</td></tr><tr><td><code>F7</code></td><td><code class="type">Number</code></td><td>The key code used for the F7 key.</td></tr><tr><td><code>F8</code></td><td><code class="type">Number</code></td><td>The key code used for the F8 key.</td></tr><tr><td><code>F9</code></td><td><code class="type">Number</code></td><td>The key code used for the F9 key.</td></tr><tr><td><code>HOME</code></td><td><code class="type">Number</code></td><td>The key code used for the HOME key.</td></tr><tr><td><code>INSERT</code></td><td><code class="type">Number</code></td><td>The key code used for the INSERT key.</td></tr><tr><td><code>LEFT</code></td><td><code class="type">Number</code></td><td>The key code used for the LEFT key.</td></tr><tr><td><code>NUM_LOCK</code></td><td><code class="type">Number</code></td><td>The key code used for the NUM_LOCK key.</td></tr><tr><td><code>NUMPAD_DIVIDE</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD_DIVIDE key.</td></tr><tr><td><code>NUMPAD_MINUS</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD_MINUS key.</td></tr><tr><td><code>NUMPAD_MULTIPLY</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD_MULTIPLY key.</td></tr><tr><td><code>NUMPAD_PLUS1</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD_PLUS1 key.</td></tr><tr><td><code>NUMPAD0</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD0 key.</td></tr><tr><td><code>NUMPAD1</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD1 key.</td></tr><tr><td><code>NUMPAD2</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD2 key.</td></tr><tr><td><code>NUMPAD3</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD3 key.</td></tr><tr><td><code>NUMPAD4</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD4 key.</td></tr><tr><td><code>NUMPAD5</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD5 key.</td></tr><tr><td><code>NUMPAD6</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD6 key.</td></tr><tr><td><code>NUMPAD7</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD7 key.</td></tr><tr><td><code>NUMPAD8</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD8 key.</td></tr><tr><td><code>NUMPAD9</code></td><td><code class="type">Number</code></td><td>The key code used for the NUMPAD9 key.</td></tr><tr><td><code>PAGE_DOWN</code></td><td><code class="type">Number</code></td><td>The key code used for the PAGE_DOWN key.</td></tr><tr><td><code>PAGE_UP</code></td><td><code class="type">Number</code></td><td>The key code used for the PAGE_UP key.</td></tr><tr><td><code>RIGHT</code></td><td><code class="type">Number</code></td><td>The key code used for the RIGHT key.</td></tr><tr><td><code>SHIFT</code></td><td><code class="type">Number</code></td><td>The key code used for the SHIFT key.</td></tr><tr><td><code>SPACE</code></td><td><code class="type">Number</code></td><td>The key code used for the SPACE key.</td></tr><tr><td><code>TAB</code></td><td><code class="type">Number</code></td><td>The key code used for the TAB key.</td></tr><tr><td><code>UP</code></td><td><code class="type">Number</code></td><td>The key code used for the UP key.</td></tr></tbody></table><h2>Remarks</h2><p>		This object should not be created by the user. It is created as needed by the event system.	</p></body></html>

⌨️ 快捷键说明

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