Class bbq.lang.Delegator
Extends
bbq.lang.Watchable.
Defined in: Delegator.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
|
Field Summary
Field Attributes |
Field Name and Description |
|
|
Method Summary
Method Attributes |
Method Name and Description |
|
Example:
if(this.willDelegateMethod("foo")) {
return this.delegateMethod("foo");
} else {
// default action
}
|
- Methods borrowed from class bbq.lang.Watchable:
- deRegisterListener, notifyListener, notifyListeners, registerListener, registerOneTimeListener
Constructor Detail
bbq.lang.Delegator(options, options)
Parameters:
Name |
Type |
Comment |
options |
{Object} |
|
options |
|
|
Field Detail
{Holds the options for this object}
options
Method Detail
delegateMethod(type, args)
Example:
if(this.willDelegateMethod("foo")) {
return this.delegateMethod("foo");
} else {
// default action
}
Parameters:
Name |
Type |
Comment |
type |
{String} |
|
args |
|
|