<source><name>Hemi.app</name><project><name>Hemi JavaScript Framework</name><url-title>Hemi JavaScript Framework Project</url-title><url>/Hemi/</url></project><package><path>Hemi</path><library>Hemi</library><description>Helper utilities for creating Application Spaces, Application Components, XHTML Components, and loading <a href="../Components/component.window.xml">Window components</a>.</description><static-class><name>app</name><version>3.1.3</version><description>Convenience methods for instrumenting the Hemi.app.* libraries.</description><method><name>createApplicationSpace</name><param name="oElement" type="Node" optional="1">XHTML Node in which the space will be created.</param><param name="oParent" type="Node" optional="1">XHTML Parent of oElement.</param><param name="oSibling" type="Node" optional="1">XHTML Sibling of oElement, used for node adjacency insertion.</param><param name="fCallback" type="function" optional="1">Callback function to be invoked after the space is initialized.</param><return-value type="SpaceObject" name="oSpace">A new application space object.</return-value><description>Creates a new application space at the specified location.</description></method>
Do not allow a component to be created on a space that isn't loaded
This will cause a duplicate component to be created
The duplicate can't be checked ahead of time because the binding HTML node may not yet exist
within the space

<method><name>createComponent</name><param name="oElement" type="Node">XHTML Node for which the XHTML Component will be created.</param><param name="oSpace" type="SpaceObject" optional="1">Application space in which the component will exist.</param><param name="sRid" type="String" optional="1">Reference id for addressing this object through the registry service or within the application space.</param><return-value type="XHTMLComponent" name="oComponent">A new XHTML Component.</return-value><description>Creates a new XHTML Component.</description></method>
Do not allow a component to be created on a space that isn't loaded
This will cause a duplicate component to be created
The duplicate can't be checked ahead of time because the binding HTML node may not yet exist
within the space

<method><name>createApplicationComponent</name><param name="sComponentName" type="String" optional="1">Name of the component to load.  If the name does not end with .xml, the component will be loaded from Hemi/Components/component.{sComponentName}.xml</param><param name="oElement" type="Node" optional="1">XHTML Node to which the application component will be bound.</param><param name="oSpace" type="SpaceObject" optional="1">Application space in which this component will operate.</param><param name="sRid" type="String" optional="1">Reference id for addressing this object through the registry service or within the application space.</param><return-value type="SpaceObject" name="oSpace">A new application space object.</return-value><description>Creates a new application space at the specified location.</description></method>
post_init won't propogate to an application component unless the appcomp is set on the xcomp

<method><name>getWindowManager</name><return-value type="ApplicationComponent" name="oManager">An instance of the component.manager.xml component.</return-value><description>Returns a global instance of the component.manager.xml component, dynamically creating it if it does not already exist in the registry.</description></method><method><name>createWindow</name><param name="sTitle" type="String" optional="1">Title of the window component.</param><param name="sTemplate" type="String" optional="1">Template to use for the window contents.</param><param name="sName" type="String" optional="1">Name of the window, used to retrieve a reference from the Window Manager component.</param><param name="vSpace" type="variant" optional="1">Name of or reference to an Application Space.</param><param name="bNotBound" type="bool" optional="1">Bit indicating whether the window component is free to move beyond the boundary of the Window Manager.</param><param name="aArguments" type="hash" optional="1">Property hash that will be copied into the Application Component properties member.</param><param name="fLocalInit" type="function" optional="1">Callback function to be invoked when the window and any dependent templates are loaded.</param><return-value type="ApplicationComponent" name="oWindow">A new application component if created. If the named object exists, the object is restored but not returned.</return-value><description>Creates and/or restores a new window as an instance of component.window.xml for the specified name.</description></method><method><name>getPrimarySpace</name><return-value type="ApplicationSpace" name="oSpace">An Application Space.</return-value><description>Returns the primary Application Space object.  The primary space is loaded if not already done so.</description></method></static-class></package><index><description>Helper utilities for creating Application Spaces, Application Components, XHTML Components, and loading </description><url>Hemi_api.html</url><url-title>API Index</url-title></index></source>