Package | org.spicefactory.parsley.flex.binding |
Class | public class FlexPropertyWatcher |
Inheritance | FlexPropertyWatcher Object |
Implements | PropertyWatcher |
Method | Defined By | ||
---|---|---|---|
unwatch():void
Stops watching the property. | FlexPropertyWatcher | ||
Watches the property of the specified target object for change events
and invokes the specified callback on each change, passing the new value. | FlexPropertyWatcher |
unwatch | () | method |
public function unwatch():void
Stops watching the property.
watch | () | method |
public function watch(target:Object, property:Property, changeEvent:String, callback:Function):void
Watches the property of the specified target object for change events and invokes the specified callback on each change, passing the new value.
Parameters
target:Object — the instance that holds the property to observe
| |
property:Property — the target property that holds the published value
| |
changeEvent:String — the event type that signals that the property value has changed (has no effect in Flex applications)
| |
callback:Function — the callback to invoke on each property change
|