Packagevegas.events
Classpublic class ValueEvent
InheritanceValueEvent Inheritance BasicEvent Inheritance flash.events.Event

A basic value event.



Public Properties
 PropertyDefined 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
 Inheritedcontext : *
Determinates the optional context of this event.
BasicEvent
  REMOVE : String = remove
[static] Default event type when an entry is removed in a model.
ValueEvent
 Inheritedtarget : Object
[override] Indicates the custom event target.
BasicEvent
 InheritedtimeStamp : uint
[read-only] Indicates the timestamp of the event.
BasicEvent
 Inheritedtype : 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
Public Methods
 MethodDefined 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
 Inherited
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
Protected Methods
 MethodDefined By
 Inherited
setTimeStamp(time:uint = 0):void
Sets the timestamp of the event (used this method only in internal in the Event class).
BasicEvent
Property Detail
ADDproperty
public static var ADD:String = add

Default event type when a value is added in a model.

BEFORE_CHANGEproperty 
public static var BEFORE_CHANGE:String = beforeChange

Default event type notified before a value is changed in a model.

CHANGEproperty 
public static var CHANGE:String = change

Default event type when an entry is changed/selected in a model.

CLEARproperty 
public static var CLEAR:String = clear

Default event type when all entries are removed in a model.

REMOVEproperty 
public static var REMOVE:String = remove

Default event type when an entry is removed in a model.

UPDATEproperty 
public static var UPDATE:String = update

Default event type when an entry is updated in a model.

valueproperty 
value:*

Indicates the value corresponding to this entry.


Implementation
    public function get value():*
    public function set value(value:any):void
Constructor Detail
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.

Parameters
type: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.
Method Detail
clone()method
override public function clone():Event

Returns the shallow copy of this object.

Returns
Event — the shallow copy of this object.
toString()method 
override public function toString():String

Returns the string representation of this event.

Returns
String — the string representation of this event.