org.xwt
Class XWT

java.lang.Object
  extended byorg.xwt.js.JS
      extended byorg.xwt.js.JS.Obj
          extended byorg.xwt.XWT

public final class XWT
extends JS.Obj

Singleton class that provides all functionality in the xwt.* namespace


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
 
Field Summary
 Res rr
           
 
Constructor Summary
XWT(Res rr)
           
 
Method Summary
 java.lang.Object callMethod(java.lang.Object method, JS.Array args, boolean checkOnly)
           
 java.lang.Object get(java.lang.Object name)
           
 java.lang.Object put(java.lang.Object name, java.lang.Object value)
           
static java.lang.Object sleep(int i)
           
 
Methods inherited from class org.xwt.js.JS.Obj
get, keys, 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
 

Field Detail

rr

public final Res rr
Constructor Detail

XWT

public XWT(Res rr)
Method Detail

get

public java.lang.Object get(java.lang.Object name)
Overrides:
get in class JS.Obj

put

public java.lang.Object put(java.lang.Object name,
                            java.lang.Object value)
Overrides:
put in class JS.Obj

callMethod

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

sleep

public static java.lang.Object sleep(int i)