Hemi JavaScript Framework

Hemi.app

Description

Helper utilities for creating Application Spaces, Application Components, XHTML Components, and loading Window components.

static Hemi.app

version 3.1.9

Convenience methods for instrumenting the Hemi.app.* libraries.

Index

Method Index

Methods

createApplicationComponent

Creates a new application component..

Syntax

oComponent = createApplicationComponent( sComponentName, oElement, oSpace, sRid )

Parameters

Returns

oComponent as ApplicationComponent: A new application component.

createApplicationSpace

Creates a new application space at the specified location.

Syntax

oSpace = createApplicationSpace( oElement, oParent, oSibling, fCallback )

Parameters

Returns

oSpace as SpaceObject: A new application space object.

createComponent

Creates a new XHTML Component.

Syntax

oComponent = createComponent( oElement, oSpace, sRid )

Parameters

Returns

oComponent as XHTMLComponent: A new XHTML Component.

createWindow

Creates and/or restores a new window as an instance of component.window.xml for the specified name.

Syntax

oWindow = createWindow( sTitle, sTemplate, sName, vSpace, bNotBound, aArguments, fLocalInit )

Parameters

Returns

oWindow as ApplicationComponent: A new application component if created. If the named object exists, the object is restored but not returned.

getPrimarySpace

Returns the primary Application Space object. The primary space is loaded if not already done so.

Syntax

oSpace = getPrimarySpace( )

Returns

oSpace as ApplicationSpace: An Application Space.

getWindowManager

Returns a global instance of the component.manager.xml component, dynamically creating it if it does not already exist in the registry.

Syntax

oManager = getWindowManager( )

Returns

oManager as ApplicationComponent: An instance of the component.manager.xml component.