ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
fl.events 

DataChangeType  - AS3 Flash

Packagefl.events
Classpublic class DataChangeType
InheritanceDataChangeType Inheritance 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



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined 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.