当前页面:
在线文档首页 >
JDK 5 Documentation v6.0, Java 2 SDK 英文文档
JSInvoker - JDK 5 Documentation v6.0, Java 2 SDK 英文文档
Class JSInvoker
Object
|
+--JSInvoker
- class
JSInvoker
Defined in init.js
Constructor Summary |
JSInvoker
(obj)
Creates an object that delegates all method calls on
it to the 'invoke' method on the given delegate object.
|
JSInvoker
JSInvoker(obj)
Creates an object that delegates all method calls on
it to the 'invoke' method on the given delegate object.
Example:
var x = { invoke: function(name, args) { //code...}
var y = new JSInvoker(x);
y.func(3, 3); // calls x.invoke('func', args); where args is array of arguments
Parameters:
obj
- object to be wrapped by JSInvoker
Documentation generated by
JSDoc on Wed Jun 8 13:29:43 2005