Method |
Description |
|
Call ( Context cx, Scriptable scope, Scriptable thisObj, object args ) : object |
|
|
Construct ( Context cx, Scriptable scope, object args ) : Scriptable |
Note that if the delegee is null , this method creates a new instance of the Delegator itself rathert than forwarding the call to the delegee . Note that if the delegee is null , this method creates a new instance of the Delegator itself rathert than forwarding the call to the delegee . This permits the use of Delegator prototypes. |
|
Delegator ( ) : System |
Create a Delegator prototype. Create a Delegator prototype. This constructor should only be used for creating prototype objects of Delegator. |
|
Delegator ( Scriptable obj ) : System |
Create a new Delegator that forwards requests to a delegee Scriptable object. Create a new Delegator that forwards requests to a delegee Scriptable object. |
|
Delete ( int index ) : void |
|
|
Delete ( string name ) : void |
|
|
Get ( int index, Scriptable start ) : object |
|
|
Get ( string name, Scriptable start ) : object |
|
|
GetClassName ( ) : string |
|
|
GetDefaultValue ( Type hint ) : object |
Note that this method does not get forwarded to the delegee if the hint parameter is null, ScriptRuntime.ScriptableClass or ScriptRuntime.FunctionClass . Note that this method does not get forwarded to the delegee if the hint parameter is null, ScriptRuntime.ScriptableClass or ScriptRuntime.FunctionClass . Instead the object itself is returned. |
|
GetDelegee ( ) : Scriptable |
Retrieve the delegee. Retrieve the delegee. |
|
GetIds ( ) : object[] |
|
|
GetParentScope ( ) : Scriptable |
|
|
GetPrototype ( ) : Scriptable |
|
|
Has ( int index, Scriptable start ) : bool |
|
|
Has ( string name, Scriptable start ) : bool |
|
|
HasInstance ( Scriptable instance ) : bool |
|
|
Put ( int index, Scriptable start, object value ) : void |
|
|
Put ( string name, Scriptable start, object value ) : void |
|
|
SetDelegee ( Scriptable obj ) : void |
Set the delegee. Set the delegee. |
|
SetParentScope ( Scriptable parent ) : void |
|
|
SetPrototype ( Scriptable prototype ) : void |
|
|