fl.events

# DataChangeType - AS3 Flash

Package | fl.events
Class | public class DataChangeType
Inheritance | DataChangeType Object

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The DataChangeType class defines constants for the `DataChangeEvent.changeType` event. These constants are used by the DataChangeEvent class to identify the type of change that was applied to the data in a list-based component such as a List, ComboBox, TileList, or DataGrid.

Related API Elements

DataChangeEvent.changeType

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants

| Constant | Defined By
--- | --- | ---
|  | ADD : String = "add" [static] Items were added to the data provider. | DataChangeType
|  | CHANGE : String = "change" [static] A change was made to the component data. | DataChangeType
|  | INVALIDATE : String = "invalidate" [static] A change was made to the data contained in an item. | DataChangeType
|  | INVALIDATE_ALL : String = "invalidateAll" [static] The data set is invalid. | DataChangeType
|  | REMOVE : String = "remove" [static] Items were removed from the data provider. | DataChangeType
|  | REMOVE_ALL : String = "removeAll" [static] All items were removed from the data provider. | DataChangeType
|  | REPLACE : String = "replace" [static] The items in the data provider were replaced by new items. | DataChangeType
|  | SORT : String = "sort" [static] The data provider was sorted. | DataChangeType

Constant Detail

### ADD

Constant

`public static const ADD:String = "add"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

Items were added to the data provider.

### CHANGE

Constant

`public static const CHANGE:String = "change"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

A change was made to the component data. This value does not affect the component data that it describes.

### INVALIDATE

Constant

`public static const INVALIDATE:String = "invalidate"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

A change was made to the data contained in an item.

### INVALIDATE_ALL

Constant

`public static const INVALIDATE_ALL:String = "invalidateAll"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The data set is invalid.

### REMOVE

Constant

`public static const REMOVE:String = "remove"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

Items were removed from the data provider.

### REMOVE_ALL

Constant

`public static const REMOVE_ALL:String = "removeAll"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

All items were removed from the data provider.

### REPLACE

Constant

`public static const REPLACE:String = "replace"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The items in the data provider were replaced by new items.

### SORT

Constant

`public static const SORT:String = "sort"`

Language Version: | ActionScript 3.0

Product Version: | Flash CS3

Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0

The data provider was sorted. This constant is used to indicate a change in the order of the data, not a change in the data itself.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00