| Package | flare.vis.events |
| Class | public class DataEvent |
| Inheritance | DataEvent flash.events.Event |
| Subclasses | SelectionEvent |
| Property | Defined by | ||
|---|---|---|---|
| edge : EdgeSprite
[read-only] The first element in the event list as an EdgeSprite.
| DataEvent | ||
| item : DataSprite
[read-only] The first element in the event list as a DataSprite.
| DataEvent | ||
| items : Array [read-only] The list of effected data items.
| DataEvent | ||
| length : int [read-only] The number of items in this data event.
| DataEvent | ||
| list : DataList
[read-only] The data list (if any) the items belong to.
| DataEvent | ||
| node : NodeSprite
[read-only] The first element in the event list as a NodeSprite.
| DataEvent | ||
| object : Object [read-only] The first element in the event list as an Object.
| DataEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new DataEvent.
| DataEvent | ||
|
clone():Event
| DataEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| ADD : String = "add" [static] A data added event.
| DataEvent | ||
| REMOVE : String = "remove" [static] A data removed event.
| DataEvent | ||
| UPDATE : String = "update" [static] A data updated event.
| DataEvent | ||
| edge | property |
edge:EdgeSprite [read-only]The first element in the event list as an EdgeSprite.
Implementation public function get edge():EdgeSprite
| item | property |
item:DataSprite [read-only]The first element in the event list as a DataSprite.
Implementation public function get item():DataSprite
| items | property |
items:Array [read-only]The list of effected data items.
Implementation public function get items():Array
| length | property |
length:int [read-only]The number of items in this data event.
Implementation public function get length():int
| list | property |
list:DataList [read-only]The data list (if any) the items belong to.
Implementation public function get list():DataList
| node | property |
node:NodeSprite [read-only]The first element in the event list as a NodeSprite.
Implementation public function get node():NodeSprite
| object | property |
object:Object [read-only]The first element in the event list as an Object.
Implementation public function get object():Object
| DataEvent | () | constructor |
public function DataEvent(type:String, items:DataList, list:* = null)Creates a new DataEvent.
Parameterstype:String — the event type (ADD, REMOVE, or UPDATE)
|
|
items:DataList — the DataSprite(s) that were added, removed, or updated
|
|
list:* (default = null) — (optional) the data list that was modified
|
| clone | () | method |
public override function clone():EventReturns
Event |
| ADD | constant |
public static const ADD:String = "add"A data added event.
| REMOVE | constant |
public static const REMOVE:String = "remove"A data removed event.
| UPDATE | constant |
public static const UPDATE:String = "update"A data updated event.