| Package | com.whirled.contrib.avrg.probe |
| Class | public class TargetedSubCtrlDef |
| Property | Defined by | ||
|---|---|---|---|
| getSubCtrl : Function Function that retrieves a subcontrol by id.
| TargetedSubCtrlDef | ||
| idParam : Parameter
The id parameter prepended to the parameter list for all added methods.
| TargetedSubCtrlDef | ||
| Property | Defined by | ||
|---|---|---|---|
| _methods : Array | TargetedSubCtrlDef | ||
| Method | Defined by | ||
|---|---|---|---|
|
TargetedSubCtrlDef(getSubCtrl:Function, idParam:Parameter)
Creates a new set of method definitions.
| TargetedSubCtrlDef | ||
|
addMethod(name:String, getMethod:Function, params:Array = null):void
Adds a new method.
| TargetedSubCtrlDef | ||
|
toSpecs():Array
Convert the list of method definitions to a FunctionSpec array.
| TargetedSubCtrlDef | ||
| getSubCtrl | property |
public var getSubCtrl:FunctionFunction that retrieves a subcontrol by id.
| idParam | property |
public var idParam:ParameterThe id parameter prepended to the parameter list for all added methods.
| _methods | property |
protected var _methods:Array
| TargetedSubCtrlDef | () | constructor |
public function TargetedSubCtrlDef(getSubCtrl:Function, idParam:Parameter)Creates a new set of method definitions.
ParametersgetSubCtrl:Function |
|
idParam:Parameter |
| addMethod | () | method |
public function addMethod(name:String, getMethod:Function, params:Array = null):voidAdds a new method.
Parametersname:String — the name of the method
|
|
getMethod:Function — function that retrives the actual method, given a subcontrol instance
|
|
params:Array (default = null) — optional list of parameters to the method
|
| toSpecs | () | method |
public function toSpecs():ArrayConvert the list of method definitions to a FunctionSpec array.
ReturnsArray |