| Package | vegas.events |
| Class | public class EntryEvent |
| Inheritance | EntryEvent BasicEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| ADD : String = add [static]
Default event type when an entry is added in a model. | EntryEvent | ||
| BEFORE_CHANGE : String = beforeChange [static]
Default event type notified before an entry is changed in a model. | EntryEvent | ||
| CHANGE : String = change [static]
Default event type when an entry is changed/selected in a model. | EntryEvent | ||
| CLEAR : String = clear [static]
Default event type when all entries are removed in a model. | EntryEvent | ||
![]() | context : *
Determinates the optional context of this event. | BasicEvent | |
| entry : Entry
Indicates the entry reference of this event. | EntryEvent | ||
| key : * [read-only]
Indicates the key corresponding to this entry. | EntryEvent | ||
| REMOVE : String = remove [static]
Default event type when an entry is removed in a model. | EntryEvent | ||
![]() | 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. | EntryEvent | ||
| value : * [read-only]
Indicates the value corresponding to this entry. | EntryEvent | ||
| Method | Defined By | ||
|---|---|---|---|
EntryEvent(type:String, entry:Entry = null, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:uint = 0)
Creates a new EntryEvent instance. | EntryEvent | ||
clone():Event [override]
Returns the shallow copy of this object. | EntryEvent | ||
![]() | dispatch(channel:String = null):void
Dispatch the event with the global event flow. | BasicEvent | |
toString():String [override]
Returns the string representation of this event. | EntryEvent | ||
| ADD | property |
public static var ADD:String = addDefault event type when an entry is added in a model.
| BEFORE_CHANGE | property |
public static var BEFORE_CHANGE:String = beforeChangeDefault event type notified before an entry 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.
| entry | property |
entry:EntryIndicates the entry reference of this event.
public function get entry():Entry public function set entry(value:Entry):void| key | property |
key:* [read-only] Indicates the key corresponding to this entry.
public function get key():*| 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:* [read-only] Indicates the value corresponding to this entry.
public function get value():*| EntryEvent | () | Constructor |
public function EntryEvent(type:String, entry:Entry = 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.
| |
entry:Entry (default = null) — Indicates the entry 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.
|