| Package | org.spicefactory.parsley.binding.impl |
| Class | public class SubscribingPropertyPublisher |
| Inheritance | SubscribingPropertyPublisher PropertyPublisher AbstractPublisher flash.events.EventDispatcher |
| Implements | Subscriber |
| Method | Defined By | ||
|---|---|---|---|
SubscribingPropertyPublisher(target:Object, property:Property, type:ClassInfo = null, id:String = null, context:Context = null, changeEvent:String = null)
Creates a new instance. | SubscribingPropertyPublisher | ||
![]() | dispose():void
Disposes this publisher. | PropertyPublisher | |
![]() | init():void
Initializes this publisher. | PropertyPublisher | |
update(newValue:*):void
Notifies this suscriber that the published value has changed. | SubscribingPropertyPublisher | ||
| SubscribingPropertyPublisher | () | Constructor |
public function SubscribingPropertyPublisher(target:Object, property:Property, type:ClassInfo = null, id:String = null, context:Context = null, changeEvent: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
| |
context:Context (default = null) — the corresponding Context in case the published object should be managed
| |
changeEvent:String (default = null) — the event type that signals that the property value has changed (has no effect in Flex applications)
|
| update | () | method |
public function update(newValue:*):voidNotifies this suscriber that the published value has changed.
Parameters
newValue:* — the new value of the matching publisher
|