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.0

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

Index

Method Index

Methods

createApplicationComponent

Creates a new application space at the specified location.

Syntax

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

Parameters

Returns

oSpace as SpaceObject: A new application space object.

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.

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.