| Package | org.spicefactory.parsley.binding.impl |
| Class | public class AbstractPublisher |
| Inheritance | AbstractPublisher flash.events.EventDispatcher |
| Subclasses | PersistentPublisher, PropertyPublisher |
| Property | Defined By | ||
|---|---|---|---|
| id : String [read-only] | AbstractPublisher | ||
| type : ClassInfo [read-only] | AbstractPublisher | ||
| unique : Boolean [read-only] | AbstractPublisher | ||
| Property | Defined By | ||
|---|---|---|---|
| enabled : Boolean = true
Indicates whether this publisher is currently enabled. | AbstractPublisher | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new instance. | AbstractPublisher | ||
| Method | Defined By | ||
|---|---|---|---|
publish(newValue:*):void
Publishes a new value. | AbstractPublisher | ||
| enabled | property |
protected var enabled:Boolean = trueIndicates whether this publisher is currently enabled. When disabled changes to the current value should not cause a change event to be fired.
| id | property |
id:String [read-only] public function get id():String| type | property |
| unique | property |
unique:Boolean [read-only] public function get unique():Boolean| AbstractPublisher | () | Constructor |
public function AbstractPublisher(type:ClassInfo, id:String = null, unique:Boolean = false, context:Context = null)Creates a new instance.
Parameterstype:ClassInfo — the target property that holds the published value
| |
id:String (default = null) — the type of the published value
| |
unique:Boolean (default = false) — the id the value is published with
| |
context:Context (default = null) — the corresponding Context in case the published object should be managed
|
| publish | () | method |
protected function publish(newValue:*):voidPublishes a new value.
Parameters
newValue:* — the new value to publish
|