biolapgriddragevent.html

来自「ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.」· HTML 代码 · 共 207 行

HTML
207
字号
<!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>BiOlapGridDragEvent</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="BiOlapGridDragEvent">BiOlapGridDragEvent</h1><p>This event is used for events related to some drag and drop inside the OLAP grid.</p><p>This class extends		<code><a href="BiDragEvent.html">BiDragEvent</a></code>		and therefore all methods and fields available for		<code><a href="BiDragEvent.html">BiDragEvent</a></code>		are also available for <code>BiOlapGridDragEvent</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><a href="BiMouseEvent.html">BiMouseEvent</a></code><ul><li><code><a href="BiDragEvent.html">BiDragEvent</a></code><ul><li><code>BiOlapGridDragEvent</code><ul id="api-derived-classes"></ul></li></ul></li></ul></li></ul></li></ul></li></ul><h2>Constructor</h2><p><code>	new BiOlapGridDragEvent(<span class="methodArgument">sType</span>, <span class="methodArgument">oDragEvent</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 name/type of the event</td></tr><tr><td><code>oDragEvent</code></td><td><code class="type">				<code><a href="BiDragEvent.html">BiDragEvent</a></code>			</code></td><td class="optional-column"></td><td></td><td>The drag and drop event this is based on</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="destinationInfo"></a><code>destinationInfo</code></td><td><code class="type">				<code><a href="BiOlapGridCellInfo.html">BiOlapGridCellInfo</a></code>			</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>The destionation cell info</td></tr><tr><td><a name="relative"></a><code>relative</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>The relative postion to the destionation cell. This is either<code><a href="BiOlapGridDragEvent.html">BiOlapGridDragEvent</a></code>.BEFORE,<code><a href="BiOlapGridDragEvent.html">BiOlapGridDragEvent</a></code>.OVER or<code><a href="BiOlapGridDragEvent.html">BiOlapGridDragEvent</a></code>.AFTER.</td></tr><tr><td><a name="sourceInfo"></a><code>sourceInfo</code></td><td><code class="type">				<code><a href="BiOlapGridCellInfo.html">BiOlapGridCellInfo</a></code>			</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>The source cell info</td></tr></tbody></table><h2>Methods</h2><table><thead><tr><td>Name</td><td>Description</td></tr></thead><tbody><tr><td><code><a href="#initEvent">initEvent</a></code></td><td>Initializes a few fields</td></tr></tbody></table><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>AFTER</code></td><td><code class="type">Number</code></td><td>Whether the relative positon is after the destination cell info</td></tr><tr><td><code>BEFORE</code></td><td><code class="type">Number</code></td><td>Whether the relative positon is before the destination cell info</td></tr><tr><td><code>OVER</code></td><td><code class="type">Number</code></td><td>Whether the relative positon is over (not before or after) the destination cell info</td></tr></tbody></table><h2>Remarks</h2><p>	</p><h2>Method Details</h2><h3><a name="initEvent"></a>initEvent</h3><p>Initializes a few fields</p><h4>Syntax</h4><pre class="method-syntax">object.initEvent(<span class="methodArgument">oSrc</span>, <span class="methodArgument">oDst</span> [, <span class="methodArgument">nRelative</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>oSrc</code></td><td><code class="type">						<code><a href="BiOlapGridCellInfo.html">BiOlapGridCellInfo</a></code>					</code></td><td class="optional-column"></td><td></td><td>The cell info for the start cell in the 										OLAP grid</td></tr><tr><td><code>oDst</code></td><td><code class="type">						<code><a href="BiOlapGridCellInfo.html">BiOlapGridCellInfo</a></code>					</code></td><td class="optional-column"></td><td></td><td>The destination cell info for the OLAP grid</td></tr><tr><td><code>nRelative</code></td><td><code class="type">Number</code></td><td class="optional-column"><img src="check.png" alt="checked"></td><td></td><td>Number describing where the drop/over occured. </td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p></body></html>

⌨️ 快捷键说明

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