org.apache.batik.script.rhino.svg12
Class GlobalWrapper

java.lang.Object
  extended byorg.mozilla.javascript.ScriptableObject
      extended byorg.mozilla.javascript.IdScriptableObject
          extended byorg.mozilla.javascript.ImporterTopLevel
              extended byorg.apache.batik.script.rhino.WindowWrapper
                  extended byorg.apache.batik.script.rhino.svg12.GlobalWrapper
All Implemented Interfaces:
DebuggableObject, IdFunctionCall, Scriptable, Serializable

public class GlobalWrapper
extends WindowWrapper

Wrapper class for the SVGGlobal object.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.apache.batik.script.rhino.WindowWrapper
WindowWrapper.FunctionWrapper, WindowWrapper.GetURLFunctionWrapper
 
Field Summary
 
Fields inherited from class org.apache.batik.script.rhino.WindowWrapper
interpreter, window
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
DONTENUM, EMPTY, PERMANENT, READONLY
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
GlobalWrapper(Context context)
          Creates a new GlobalWrapper.
 
Method Summary
 String getClassName()
           
static void startMouseCapture(Context cx, Scriptable thisObj, Object[] args, Function funObj)
          Wraps the 'startMouseCapture' method of the SVGGlobal interface.
static void stopMouseCapture(Context cx, Scriptable thisObj, Object[] args, Function funObj)
          Wraps the 'stopMouseCapture' method of the SVGGlobal interface.
 String toString()
           
 
Methods inherited from class org.apache.batik.script.rhino.WindowWrapper
alert, clearInterval, clearTimeout, confirm, getLocation, getURL, parseXML, postURL, printNode, prompt, setInterval, setLocation, setTimeout
 
Methods inherited from class org.mozilla.javascript.ImporterTopLevel
execIdCall, findPrototypeId, get, has, importPackage, init, initPrototypeId, initStandardObjects
 
Methods inherited from class org.mozilla.javascript.IdScriptableObject
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultPut, delete, exportAsJSClass, fillConstructorProperties, findInstanceIdInfo, getAttributes, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdValue
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isSealed, put, putProperty, putProperty, sealObject, setAttributes, setAttributes, setAttributes, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlobalWrapper

public GlobalWrapper(Context context)
Creates a new GlobalWrapper.

Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface Scriptable
Overrides:
getClassName in class WindowWrapper

toString

public String toString()
Overrides:
toString in class WindowWrapper

startMouseCapture

public static void startMouseCapture(Context cx,
                                     Scriptable thisObj,
                                     Object[] args,
                                     Function funObj)
Wraps the 'startMouseCapture' method of the SVGGlobal interface.


stopMouseCapture

public static void stopMouseCapture(Context cx,
                                    Scriptable thisObj,
                                    Object[] args,
                                    Function funObj)
Wraps the 'stopMouseCapture' method of the SVGGlobal interface.



Copyright © 2009 Apache Software Foundation. All Rights Reserved.