API 0.9.5
CPWebScriptObject Class Reference

#import <CPWebScriptObject.h>

Inheritance diagram for CPWebScriptObject:

List of all members.

Instance Methods

(id) - callWebScriptMethod:withArguments:
(id) - evaluateWebScript:
(id) - initWithWindow:
(Window) - window

Detailed Description

A CPWebScriptObject is an Objective-J wrapper around a scripting object.

Definition at line 2 of file CPWebScriptObject.h.


Method Documentation

- (id) callWebScriptMethod: (CPString methodName
withArguments: (CPArray args 

Call a method with arguments on the receiver.

Parameters:
methodName- The method that should be called.
args- An array of arguments to pass to the method call.

Definition at line 931 of file CPWebView.j.

- (id) evaluateWebScript: (CPString script

Evaluates a string of javascript and returns the result.

Parameters:
script- The script to run.
Returns:
- The result of the evaluation, which may be 'undefined'.

Definition at line 950 of file CPWebView.j.

- (id) initWithWindow: (Window)  aWindow

Initializes the scripting object with the scripting Window object.

Definition at line 916 of file CPWebView.j.

- (Window) window

Returns the receivers Window object.

Definition at line 963 of file CPWebView.j.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines