Class GLOBALS


 
Method Summary
<static> void addRequestCallback(request, callback)
           Add a callback to the request for when the request completes.
<static> Object arrayCopy(obj)
           Creates a 'real' array from something that matches the array interface.
<static> void blink(jc, e)
          
<static> Object boundMethod(object, methodName)
           A function to create "bound methods".
<static> void cancelPendingEvent( key )
           Cancels the pending event indicated by "key".
<static> Object closureMaker(params, func)
           A function to create a closure, without having the passed-in variables change underneath you.
<static> Object createWidgetGlobals()
           create an object suitable to be used as the WidgetGlobals in a frame
<static> void deriveNewJObject(newName, baseObject, extraInstanceInit, extraClassInit)
           deriveNewJObject is the preferred way to create a new JObject class, since it is moderately complicated.
<static> void display(object)
           display an object in an 'alert' box
<static> Object DOM(node)
           Given a DOM node or a Widget, flattens them into a DOM node reference.
<static> void emptyNode(domNode)
           Given a DOM node, empty it of all children nodes by removing them until they are all gone.
<static> Object equalButNotEscaped(s,i,q)
          
<static> Object findbeginning(s, from, stopAtDot)
          
<static> Object focusIt(a)
          
<static> Object getcaretpos(inp)
          
<static> Object getKeys(object)
           Given a JS object, returns a list of the keys of the values in that object.
<static> Object getRequest()
           Retrieve an XMLHttpRequest in a cross-platform manner.
<static> void load(jc, url)
          
<static> Object min(a,b)
          
<static> Object objCopy(obj)
           Creates a one-layer-deep deep copy of another object.
<static> void pendingEvent( key, ms, exeStatement, cancelStatement )
           Creates a new pending event.
<static> Object pr(jc, s)
          
<static> void print(jc, s)
          
<static> void props(jc, e)
          
<static> Object replaceElementWithWidget(element, targetWindow)
           For a given tag in a DOM document, replace it with a newly-created Widget, passed the attributes from the HTML tag.
<static> void ReplaceWidgetTags(targetWindow)
           A function to replace tags with widgets.
<static> void resolveFlavor(flavor)
           Resolve the deferred functions in a Flavor, copy relevant globals.
<static> void runOnloadHandlers(targetWindow)
           A function to run onloadHandlers as defined in WidgetGlobals.
<static> void scope(jc, sc)
          
<static> Object setOutline(e,o)
          
<static> Object setselectionto(inp,pos)
          
<static> Object textNode(text)
           A convenience function to create a text node with the given text.
<static> Object times(s, n)
          
<static> void WidgetInit()
           Store Widgets also in a WidgetNameToType object, so we can know that anything in that object is a Widget.


Method Detail

addRequestCallback

<static> void addRequestCallback(request, callback)

arrayCopy

<static> Object arrayCopy(obj)

blink

<static> void blink(jc, e)

boundMethod

<static> Object boundMethod(object, methodName)

cancelPendingEvent

<static> void cancelPendingEvent( key )

closureMaker

<static> Object closureMaker(params, func)

createWidgetGlobals

<static> Object createWidgetGlobals()

deriveNewJObject

<static> void deriveNewJObject(newName, baseObject, extraInstanceInit, extraClassInit)

display

<static> void display(object)

DOM

<static> Object DOM(node)

emptyNode

<static> void emptyNode(domNode)

equalButNotEscaped

<static> Object equalButNotEscaped(s,i,q)

findbeginning

<static> Object findbeginning(s, from, stopAtDot)

focusIt

<static> Object focusIt(a)

getcaretpos

<static> Object getcaretpos(inp)

getKeys

<static> Object getKeys(object)

getRequest

<static> Object getRequest()

load

<static> void load(jc, url)

min

<static> Object min(a,b)

objCopy

<static> Object objCopy(obj)

pendingEvent

<static> void pendingEvent( key, ms, exeStatement, cancelStatement )

pr

<static> Object pr(jc, s)

print

<static> void print(jc, s)

props

<static> void props(jc, e)

replaceElementWithWidget

<static> Object replaceElementWithWidget(element, targetWindow)

ReplaceWidgetTags

<static> void ReplaceWidgetTags(targetWindow)

resolveFlavor

<static> void resolveFlavor(flavor)

runOnloadHandlers

<static> void runOnloadHandlers(targetWindow)

scope

<static> void scope(jc, sc)

setOutline

<static> Object setOutline(e,o)

setselectionto

<static> Object setselectionto(inp,pos)

textNode

<static> Object textNode(text)

times

<static> Object times(s, n)

WidgetInit

<static> void WidgetInit()


Documentation generated by JSDoc on Tue May 3 17:16:26 2005