Package | org.spicefactory.parsley.binding.impl |
Class | public class PropertySubscriber |
Inheritance | PropertySubscriber AbstractSubscriber flash.events.EventDispatcher |
Implements | Subscriber |
Method | Defined By | ||
---|---|---|---|
Creates a new instance. | PropertySubscriber | ||
update(newValue:*):void
Notifies this suscriber that the published value has changed. | PropertySubscriber |
PropertySubscriber | () | Constructor |
public function PropertySubscriber(target:Object, property:Property, type:ClassInfo = null, id:String = null)
Creates a new instance.
Parameterstarget:Object — the instance that holds the property to observe
| |
property:Property — the target property that holds the published value
| |
type:ClassInfo (default = null ) — the type of the published value
| |
id:String (default = null ) — the id the value is published with
|
update | () | method |
public function update(newValue:*):void
Notifies this suscriber that the published value has changed.
Parameters
newValue:* — the new value of the matching publisher
|