| Package | org.spicefactory.parsley.binding.impl | 
| Class | public class PropertyPublisher | 
| Inheritance | PropertyPublisher    AbstractPublisher   flash.events.EventDispatcher | 
| Implements | Publisher | 
| Subclasses | SubscribingPropertyPublisher | 
| Property | Defined By | ||
|---|---|---|---|
| currentValue : * [read-only] 
	 
	 The current value of this publisher.  | PropertyPublisher | ||
![]()  | id : String [read-only]   | AbstractPublisher | |
| propertyWatcherType : Class [static] 
	 The type of the property watcher implementation all PropertyPublishers should use.  | PropertyPublisher | ||
![]()  | type : ClassInfo [read-only]   | AbstractPublisher | |
![]()  | unique : Boolean [read-only]   | AbstractPublisher | |
| Method | Defined By | ||
|---|---|---|---|
PropertyPublisher(target:Object, property:Property, type:ClassInfo = null, id:String = null, context:Context = null, changeEvent:String = null) 
	 Creates a new instance.  | PropertyPublisher | ||
dispose():void 
	 
	 Disposes this publisher.  | PropertyPublisher | ||
init():void 
	 
	 Initializes this publisher.  | PropertyPublisher | ||
| currentValue | property | 
currentValue:*  [read-only] The current value of this publisher. If this value changes the publisher must dispatch a change event.
    public function get currentValue():*| propertyWatcherType | property | 
propertyWatcherType:ClassThe type of the property watcher implementation all PropertyPublishers should use. The specified class must implement the PropertyWatcher interface. The default implementation relies on the target dispatching change events. Parsley's Flex support will install an alternative that uses Flex Bindings instead when the application runs inside Flex.
    public static function get propertyWatcherType():Class    public static function set propertyWatcherType(value:Class):void| PropertyPublisher | () | Constructor | 
public function PropertyPublisher(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)
	  | 
| dispose | () | method | 
 public function dispose():voidDisposes this publisher. After this method was invoked the publisher does not need to continue to provide a published value or dispatch change events.
| init | () | method | 
 public function init():voidInitializes this publisher. The publisher is only supposed to dispatch change events and provide a published value after this method has been called until the dispose method is called.