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

📄 biapplication.html

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!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>BiApplication</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="BiApplication">BiApplication</h1><p>This is a singleton class and the instance can be found as the global <code>application</code> object.</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>BiApplication</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>BiApplication</code><ul id="api-derived-classes"></ul></li></ul></li></ul></li></ul><h2>Constructor</h2><p><code>	new BiApplication()</code></p><h3>Parameters</h3><p>No parameters.</p><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="accessibilityMode"></a><code>accessibilityMode</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>This property can be used to tell whether the application should be in an accessibility mode. This does not really do anything and it is up to the components and implementations to make sure of this.</td></tr><tr><td><a name="adf"></a><code>adf</code></td><td><code class="type">				<code><a href="BiAdf.html">BiAdf</a></code>			</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Returns the<code><a href="BiAdf.html">BiAdf</a></code> instance</td></tr><tr><td><a name="adfPath"></a><code>adfPath</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Returns the directory path of the ADF</td></tr><tr><td><a name="autoNameMapping"></a><code>autoNameMapping</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>When this is true any XML object that has an id attribute will create a global reference to the object created from this XML element. This property is mapped to the <code><a href="BiAdf.html#xmlResourceParser">xmlResourceParser</a></code> as well as the resource loader used to load the resources.</td></tr><tr><td><a name="defaultPackages"></a><code>defaultPackages</code></td><td><code class="type">String[]</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>The default packages to load. This needs to be set before the loading actually starts. To do this you can use an attribute in the Application tag in your ADF or set this in the HTML file hosting your application.<br>								<br>				 If you just want to add a few packages then use a Package tag in your Resources section of the ADF.</td></tr><tr><td><a name="focusOnLoad"></a><code>focusOnLoad</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>Whether to try to focus the window when the application loads</td></tr><tr><td><a name="packages"></a><code>packages</code></td><td><code class="type">String[]</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Returns an array containing the names of the known packages</td></tr><tr><td><a name="path"></a><code>path</code></td><td><code class="type">				<code><a href="BiUri.html">BiUri</a></code>			</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Returns the directory path of the Bindows root</td></tr><tr><td><a name="progressStatus"></a><code>progressStatus</code></td><td><code class="type">String</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 progress status text shown while loading</td></tr><tr><td><a name="resourceLoader"></a><code>resourceLoader</code></td><td><code class="type">				<code><a href="BiResourceLoader.html">BiResourceLoader</a></code>			</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Returns the resource loader used to load the core script files as well as the resources defined in the ADF.</td></tr><tr><td><a name="stringBundle"></a><code>stringBundle</code></td><td><code class="type">				<code><a href="BiStringBundle.html">BiStringBundle</a></code>			</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>The string bundle to use for this wizard pane. If this is set to <code>null</code> then the static string bundle for<code><a href="BiWizardPane.html">BiWizardPane</a></code> is used</td></tr><tr><td><a name="theme"></a><code>theme</code></td><td><code class="type">				<code><a href="BiTheme.html">BiTheme</a></code>			</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Returns the currently used theme</td></tr><tr><td><a name="themeManager"></a><code>themeManager</code></td><td><code class="type">				<code><a href="BiThemeManager.html">BiThemeManager</a></code>			</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>The theme manager keeps track of exisiting themese and more</td></tr><tr><td><a name="uri"></a><code>uri</code></td><td><code class="type">				<code><a href="BiUri.html">BiUri</a></code>			</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Returns the full URI of the current page</td></tr><tr><td><a name="version"></a><code>version</code></td><td><code class="type">String</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Returns the version of the Bindows framework.</td></tr><tr><td><a name="window"></a><code>window</code></td><td><code class="type">				<code><a href="BiApplicationWindow.html">BiApplicationWindow</a></code>			</code></td><td class="get-column"><img src="check.png" alt="checked"></td><td class="set-column"></td><td>Returns the<code><a href="BiApplicationWindow.html">BiApplicationWindow</a></code> representing the browser window in which the application is running.</td></tr></tbody></table><h2>Methods</h2><table><thead><tr><td>Name</td><td>Description</td></tr></thead><tbody><tr><td><code><a href="#addPackage">addPackage</a></code></td><td>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</td></tr><tr><td><code><a href="#flushLayoutQueue">flushLayoutQueue</a></code></td><td>This method is used internally to update the layout of existing components</td></tr><tr><td><code><a href="#getComponentById">getComponentById</a></code></td><td>Returns the object created by the Bindows markup, in the Window part, with the given id.</td></tr><tr><td><code><a href="#getPackage">getPackage</a></code></td><td>Returns an array containing the paths to the files in the package</td></tr><tr><td><code><a href="#getResourceById">getResourceById</a></code></td><td>Returns the object created by the <code><a href="#resourceLoader">resourceLoader</a></code> with the given id.</td></tr><tr><td><code><a href="#start">start</a></code></td><td>Starts the application. If any arguments are passed to this method then these are used, otherwise the arguments passed to the page are used.</td></tr></tbody></table><h2>Events</h2><table><thead><tr><td>Name</td><td>Type</td><td class="bubbles-header">Bubbles</td>

⌨️ 快捷键说明

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