| Package | feathers.core |
| Class | public final dynamic class PropertyProxy |
| Inheritance | PropertyProxy flash.utils.Proxy |
| Product Version : | Feathers 1.0.0 |
Supports nested PropertyProxy instances using attribute
@ notation. Placing an @ before a property name
is like saying, "If this nested PropertyProxy doesn't exist
yet, create one. If it does, use the existing one."
| Method | Defined By | ||
|---|---|---|---|
PropertyProxy(onChangeCallback:Function = null)
Constructor. | PropertyProxy | ||
addOnChangeCallback(callback:Function):void
Adds a callback to react to property changes. | PropertyProxy | ||
fromObject(source:Object, onChangeCallback:Function = null):PropertyProxy [static]
Creates a PropertyProxy from a regular old Object. | PropertyProxy | ||
removeOnChangeCallback(callback:Function):void
Removes a callback. | PropertyProxy | ||
| PropertyProxy | () | Constructor |
public function PropertyProxy(onChangeCallback:Function = null)Constructor.
ParametersonChangeCallback:Function (default = null) |
| addOnChangeCallback | () | method |
public function addOnChangeCallback(callback:Function):voidAdds a callback to react to property changes.
Parameters
callback:Function |
| fromObject | () | method |
public static function fromObject(source:Object, onChangeCallback:Function = null):PropertyProxy
Creates a PropertyProxy from a regular old Object.
Parameters
source:Object | |
onChangeCallback:Function (default = null) |
PropertyProxy |
| removeOnChangeCallback | () | method |
public function removeOnChangeCallback(callback:Function):voidRemoves a callback.
Parameters
callback:Function |