프로퍼티 | 타입 | 설명 | |
---|---|---|---|
obj | Scriptable |
메소드 | 설명 | |
---|---|---|
Call ( |
||
Construct ( |
Note that if the Note that if the |
|
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 ( |
Note that this method does not get forwarded to the delegee if the Note that this method does not get forwarded to the delegee if the |
|
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 |
메소드 | 설명 | |
---|---|---|
NewInstance ( ) : |
Crete new Delegator instance. Crete new Delegator instance. The default implementation calls this.getClass().newInstance(). |
public Call ( |
||
cx | ||
scope | Scriptable | |
thisObj | Scriptable | |
args | object | |
리턴 | object |
public Construct ( |
||
cx | the current Context for this thread | |
scope | Scriptable | /// an enclosing scope of the caller except /// when the function is called from a closure. /// |
args | object | the array of arguments |
리턴 | Scriptable |
public Delegator ( Scriptable obj ) : System | ||
obj | Scriptable | the delegee |
리턴 | System |
public Get ( int index, Scriptable start ) : object | ||
index | int | |
start | Scriptable | |
리턴 | object |
public Get ( string name, Scriptable start ) : object | ||
name | string | |
start | Scriptable | |
리턴 | object |
public GetDefaultValue ( |
||
hint | the type hint | |
리턴 | object |
public Has ( string name, Scriptable start ) : bool | ||
name | string | |
start | Scriptable | |
리턴 | bool |
public Put ( int index, Scriptable start, object value ) : void | ||
index | int | |
start | Scriptable | |
value | object | |
리턴 | void |
public Put ( string name, Scriptable start, object value ) : void | ||
name | string | |
start | Scriptable | |
value | object | |
리턴 | void |
public SetParentScope ( Scriptable parent ) : void | ||
parent | Scriptable | |
리턴 | void |
public SetPrototype ( Scriptable prototype ) : void | ||
prototype | Scriptable | |
리턴 | void |