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

📄 biapplication.html

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<td>Descripton</td></tr></thead><tbody><tr><td><a name="dispose"></a><code>dispose</code></td><td><code class="type">				<code><a href="BiEvent.html">BiEvent</a></code>			</code></td><td class="bubbles-column"></td><td>Fires just before the application is disposed. 										This allows you to clean up your main program                                      before closing the application window.</td></tr><tr><td><a name="load"></a><code>load</code></td><td><code class="type">				<code><a href="BiEvent.html">BiEvent</a></code>			</code></td><td class="bubbles-column"></td><td>This is fired when everything has been loaded 										and initialized. This is called after the main                                      method has been called.</td></tr><tr><td><a name="progressstatus"></a><code>progressstatus</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 progress status has changed.</td></tr><tr><td><a name="resourcesready"></a><code>resourcesready</code></td><td><code class="type">				<code><a href="BiEvent.html">BiEvent</a></code>			</code></td><td class="bubbles-column"></td><td>This is fired after the Bindows markup has been 										handled but before the main method is called.</td></tr></tbody></table><h2>Static Methods</h2><p>None.</p><h2>Static Fields</h2><p>None.</p><h2>Remarks</h2><p>The text that is shown during startup can be localized by changing the 			<code><a href="#stringBundle">stringBundle</a></code> for the application object. The following keys          are currently used:<br>				<br>		          ApplicationIncorrectAdfArgument - The string to show when the ADF argument is incorrect<br>		          ApplicationLoadingAdf - The string to show when the ADF file is loading<br>		          ApplicationNoAdf - The string to show when the ADF is not specified<br>		          ApplicationAdfLoaded - The string to show when the ADF file is loaded<br>		          ApplicationAdfLoadError - The string to show when there was an error loading the ADF<br>		          ApplicationAdfLoadErrorDetails - The string to use when showing the details of the ADF load error. This may contain %1 - %3 which maps to URI, HTTP status code and HTTP status text<br>		          ApplicationLoadingResources - The string to show when loading resources. This may contain %1 and %2 which maps to the number of loaded resources and the total number of resources.<br>		          ApplicationLoadingCompleted - The string to show when the loading is complete</p><h2>Method Details</h2><h3><a name="addPackage"></a>addPackage</h3><p>Adds a named package to the known packages. The second argument is an array containing the paths to the files in the package. These paths are relative to the system root</p><h4>Syntax</h4><pre class="method-syntax">object.addPackage(<span class="methodArgument">sName</span>, <span class="methodArgument">oFiles</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>sName</code></td><td><code class="type">String</code></td><td class="optional-column"></td><td></td><td>The name of the package</td></tr><tr><td><code>oFiles</code></td><td><code class="type">String[]</code></td><td class="optional-column"></td><td></td><td>An array containing the paths to the files in the package</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="flushLayoutQueue"></a>flushLayoutQueue</h3><p>This method is used internally to update the layout of existing components</p><h4>Syntax</h4><pre class="method-syntax">object.flushLayoutQueue()</pre><h4>Parameters</h4><p>No arguments.</p><h4>Return Type</h4><p><code class="type">void</code></p><h3><a name="getComponentById"></a>getComponentById</h3><p>Returns the object created by the Bindows markup, in the Window part, with the given id.</p><h4>Syntax</h4><pre class="method-syntax">object.getComponentById(<span class="methodArgument">sId</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>sId</code></td><td><code class="type">String</code></td><td class="optional-column"></td><td></td><td>The id of the object</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Object</code></p><h3><a name="getPackage"></a>getPackage</h3><p>Returns an array containing the paths to the files in the package</p><h4>Syntax</h4><pre class="method-syntax">object.getPackage(<span class="methodArgument">sName</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>sName</code></td><td><code class="type">String</code></td><td class="optional-column"></td><td></td><td>The name of the package</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">String[]</code></p><h3><a name="getResourceById"></a>getResourceById</h3><p>Returns the object created by the <code><a href="#resourceLoader">resourceLoader</a></code> with the given id.</p><h4>Syntax</h4><pre class="method-syntax">object.getResourceById(<span class="methodArgument">sId</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>sId</code></td><td><code class="type">String</code></td><td class="optional-column"></td><td></td><td>The id of the resource object</td></tr></tbody></table><h4>Return Type</h4><p><code class="type">Object</code></p><h3><a name="start"></a>start</h3><p>Starts the application. If any arguments are passed to this method then these are used, otherwise the arguments passed to the page are used.</p><h4>Syntax</h4><pre class="method-syntax">object.start([<span class="methodArgument">sRootPath</span> [, <span class="methodArgument">sAdfPath</span> [, <span class="methodArgument">oArgs</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>sRootPath</code></td><td><code class="type">String</code></td><td class="optional-column"><img src="check.png" alt="checked"></td><td></td><td>The path to where Bindows resides. This is usually the path where bimain.html can be found.</td></tr><tr><td><code>sAdfPath</code></td><td><code class="type">String</code></td><td class="optional-column"><img src="check.png" alt="checked"></td><td></td><td>The path to the ADF file. If this is a relative path it is relative to the current document. If this is left                              out then the <code><a href="#adfPath">adfPath</a></code> is used.</td></tr><tr><td><code>oArgs</code></td><td><code class="type">Object</code></td><td class="optional-column"><img src="check.png" alt="checked"></td><td></td><td>Any number of arguments that will be passed to the main ADF method. </td></tr></tbody></table><h4>Return Type</h4><p><code class="type">void</code></p></body></html>

⌨️ 快捷键说明

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