Packagecom.google.analytics.external
Classpublic class JavascriptProxy
SubclassesAdSenseGlobals, HTMLDOM

Javascript proxy access class.



Public Properties
 PropertyDefined by
  hasProperty_js : XML
[static] The hasProperty Javascript injection.
JavascriptProxy
  setProperty_js : XML
[static] The setProperty Javascript injection.
JavascriptProxy
  setPropertyRef_js : XML
[static] The setPropertyReference Javascript injection.
JavascriptProxy
Public Methods
 MethodDefined by
  
Creates a new JavascriptProxy instance.
JavascriptProxy
  
call(functionName:String, ... args):*
Call a Javascript injection block (String or XML) with parameters and return the result.
JavascriptProxy
  
executeBlock(data:String):void
Execute a Javascript injection block (String or XML) without any parameters and without return values.
JavascriptProxy
  
getProperty(name:String):*
Returns the value property defines with the passed-in name value.
JavascriptProxy
  
getPropertyString(name:String):String
Returns the String property defines with the passed-in name value.
JavascriptProxy
  
hasProperty(path:String):Boolean
Indicates if the specified path object exist.
JavascriptProxy
  
isAvailable():Boolean
Indicates if the javascript proxy is available.
JavascriptProxy
  
setProperty(path:String, value:*):void
Creates a JS property.
JavascriptProxy
  
setPropertyByReference(path:String, target:String):void
Creates a JS property by reference.
JavascriptProxy
Property detail
hasProperty_jsproperty
public static var hasProperty_js:XML

The hasProperty Javascript injection.

setProperty_jsproperty 
public static var setProperty_js:XML

The setProperty Javascript injection.

setPropertyRef_jsproperty 
public static var setPropertyRef_js:XML

The setPropertyReference Javascript injection.

Constructor detail
JavascriptProxy()constructor
public function JavascriptProxy(debug:DebugConfiguration)

Creates a new JavascriptProxy instance.

Parameters
debug:DebugConfiguration — The DebugConfiguration reference of this object.
Method detail
call()method
public function call(functionName:String, ... args):*

Call a Javascript injection block (String or XML) with parameters and return the result.

Parameters
functionName:String
 
... args

Returns
*
executeBlock()method 
public function executeBlock(data:String):void

Execute a Javascript injection block (String or XML) without any parameters and without return values.

Parameters
data:String
getProperty()method 
public function getProperty(name:String):*

Returns the value property defines with the passed-in name value.

Parameters
name:String

Returns
* — the value property defines with the passed-in name value.
getPropertyString()method 
public function getPropertyString(name:String):String

Returns the String property defines with the passed-in name value.

Parameters
name:String

Returns
String — the String property defines with the passed-in name value.
hasProperty()method 
public function hasProperty(path:String):Boolean

Indicates if the specified path object exist.

Parameters
path:String

Returns
Boolean
isAvailable()method 
public function isAvailable():Boolean

Indicates if the javascript proxy is available.

Returns
Boolean
setProperty()method 
public function setProperty(path:String, value:*):void

Creates a JS property.

Parameters
path:String
 
value:*
setPropertyByReference()method 
public function setPropertyByReference(path:String, target:String):void

Creates a JS property by reference.

Parameters
path:String
 
target:String