org.xwt.js
Class JS.GlobalScope

java.lang.Object
  extended byorg.xwt.js.JS
      extended byorg.xwt.js.JS.Obj
          extended byorg.xwt.js.ScopeImpl
              extended byorg.xwt.js.JS.Scope
                  extended byorg.xwt.js.GlobalScopeImpl
                      extended byorg.xwt.js.JS.GlobalScope
Direct Known Subclasses:
HTTP.Proxy.ProxyAutoConfigRootScope
Enclosing class:
JS

public static class JS.GlobalScope
extends org.xwt.js.GlobalScopeImpl

a scope that is populated with js objects and functions normally found in the global scope


Nested Class Summary
 
Nested classes inherited from class org.xwt.js.JS
JS.Array, JS.Callable, JS.Context, JS.Exn, JS.GlobalScope, JS.Graft, JS.Obj, JS.Scope, JS.TailCall
 
Constructor Summary
JS.GlobalScope()
           
JS.GlobalScope(JS.Scope parent)
           
 
Method Summary
 java.lang.Object callMethod(java.lang.Object method, JS.Array args, boolean checkOnly)
           
 java.lang.Object get(java.lang.Object key)
           
 
Methods inherited from class org.xwt.js.JS.Scope
_get, _put, declare, getParentScope, has, isTransparent, keys, put
 
Methods inherited from class org.xwt.js.JS.Obj
get, put2, setSeal
 
Methods inherited from class org.xwt.js.JS
coerceToBoolean, coerceToNumber, coerceToString, parse, toBoolean, toDouble, toInt, toLong, toNumber, toString, typeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JS.GlobalScope

public JS.GlobalScope()

JS.GlobalScope

public JS.GlobalScope(JS.Scope parent)
Method Detail

get

public java.lang.Object get(java.lang.Object key)
Overrides:
get in class JS.Scope

callMethod

public java.lang.Object callMethod(java.lang.Object method,
                                   JS.Array args,
                                   boolean checkOnly)
Overrides:
callMethod in class JS