| Package | vegas.events |
| Class | public class ValueEvent |
| Inheritance | ValueEvent BasicEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| ADD : String = add [static]
Default event type when a value is added in a model. | ValueEvent | ||
| BEFORE_CHANGE : String = beforeChange [static]
Default event type notified before a value is changed in a model. | ValueEvent | ||
| CHANGE : String = change [static]
Default event type when an entry is changed/selected in a model. | ValueEvent | ||
| CLEAR : String = clear [static]
Default event type when all entries are removed in a model. | ValueEvent | ||
![]() | context : *
Determinates the optional context of this event. | BasicEvent | |
| REMOVE : String = remove [static]
Default event type when an entry is removed in a model. | ValueEvent | ||
![]() | target : Object [override]
Indicates the custom event target. | BasicEvent | |
![]() | timeStamp : uint [read-only]
Indicates the timestamp of the event. | BasicEvent | |
![]() | type : String [override]
Returns the type of event. | BasicEvent | |
| UPDATE : String = update [static]
Default event type when an entry is updated in a model. | ValueEvent | ||
| value : *
Indicates the value corresponding to this entry. | ValueEvent | ||
| Method | Defined By | ||
|---|---|---|---|
ValueEvent(type:String, value:* = null, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:uint = 0)
Creates a new EntryEvent instance. | ValueEvent | ||
clone():Event [override]
Returns the shallow copy of this object. | ValueEvent | ||
![]() | dispatch(channel:String = null):void
Dispatch the event with the global event flow. | BasicEvent | |
toString():String [override]
Returns the string representation of this event. | ValueEvent | ||
| ADD | property |
public static var ADD:String = addDefault event type when a value is added in a model.
| BEFORE_CHANGE | property |
public static var BEFORE_CHANGE:String = beforeChangeDefault event type notified before a value is changed in a model.
| CHANGE | property |
public static var CHANGE:String = changeDefault event type when an entry is changed/selected in a model.
| CLEAR | property |
public static var CLEAR:String = clearDefault event type when all entries are removed in a model.
| REMOVE | property |
public static var REMOVE:String = removeDefault event type when an entry is removed in a model.
| UPDATE | property |
public static var UPDATE:String = updateDefault event type when an entry is updated in a model.
| value | property |
value:*Indicates the value corresponding to this entry.
public function get value():* public function set value(value:any):void| ValueEvent | () | Constructor |
public function ValueEvent(type:String, value:* = null, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:uint = 0)Creates a new EntryEvent instance.
Parameterstype:String — the string type of the instance.
| |
value:* (default = null) — Indicates the value of this event.
| |
target:Object (default = null) — the target of the event.
| |
context:* (default = null) — the optional context object of the event.
| |
bubbles:Boolean (default = false) — indicates if the event is a bubbling event.
| |
cancelable:Boolean (default = false) — indicates if the event is a cancelable event.
| |
time:uint (default = 0) — this optional parameter is used in the eden deserialization to copy the timestamp value of this event.
|
| clone | () | method |
override public function clone():EventReturns the shallow copy of this object.
ReturnsEvent — the shallow copy of this object.
|
| toString | () | method |
override public function toString():StringReturns the string representation of this event.
ReturnsString — the string representation of this event.
|