OverviewSingleDeprecatedPropertiesEventsXSL Parameters

jsx3.util

class Dojo

Object
->jsx3.lang.Object
  ->jsx3.util.Dojo

class Dojo
extends jsx3.lang.Object
Provides the ability to load the Dojo JavaScript library.

See Also:

jsx3.gui.DojoWidget, jsx3.xml.DojoDataStore

Field Summary
static jsx3.util.EventDispatcher
hub
A bridge to Dojo's publish/subscribe hub.
Method Summary
static void
Returns the resolved path to Dojo or a file within Dojo.
static boolean
Returns whether Dojo has been loaded.
static void
Loads the Dojo JavaScript library.
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf, toString
Field Detail

hub

static jsx3.util.EventDispatcher hub
A bridge to Dojo's publish/subscribe hub. Events on the Dojo hub can be subscribed to through this instance. Events can also be published through this bridge, and they will be broadcast on the Dojo hub. Dojo.load() must be called before this object can be used.
Method Detail

getPath

static void getPath(s : String)
Returns the resolved path to Dojo or a file within Dojo. Dojo is assumed to be installed in the directory dojo-toolkit/ as a peer of JSX/. This location may be overridden by setting the jsx_dojo deployment parameter.

Parameters:

sthe relative path of a Dojo resource.

isLoaded

static boolean isLoaded()
Returns whether Dojo has been loaded.

Returns:

 

load

static void load()
Loads the Dojo JavaScript library. Dojo must be installed at URI jsx:/../dojo-toolkit or the jsx_dojo deployment parameter must be set to the location where Dojo is installed.