topical media & game development

talk show tell print

student-ar-fl-events-DataChangeType.ax

student-ar-fl-events-DataChangeType.ax [swf] flex


  // Copyright 2007. Adobe Systems Incorporated. All Rights Reserved.
  package fl.events {
  
          
The @ax-student-ar-fl-events-DataChangeType class defines constants for the <code>DataChangeEvent.changeType</code> 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.
see: DataChangeEvent#changeType @langversion 3.0 @playerversion Flash 9.0.28.0

  
          public class @ax-student-ar-fl-events-DataChangeType {
  
                  
A change was made to the component data. This value does not affect the component data that it describes. @eventType change @langversion 3.0 @playerversion Flash 9.0.28.0

  
                  public static const CHANGE:String = "change";
                  
                  
A change was made to the data contained in an item. @eventType invalidate @langversion 3.0 @playerversion Flash 9.0.28.0

  
                  public static const INVALIDATE:String = "invalidate";
                  
                  
The data set is invalid. @eventType invalidateAll @langversion 3.0 @playerversion Flash 9.0.28.0

  
                  public static const INVALIDATE_ALL:String = "invalidateAll";
  
                  
Items were added to the data provider. @eventType add @langversion 3.0 @playerversion Flash 9.0.28.0 @internal The word "model" was replaced with "data provider" above. What should it say? @internal If this indicates "one or more" items were added, we should use that string.

  
                  public static const ADD:String = "add";
  
                  
Items were removed from the data provider. @eventType remove @langversion 3.0 @playerversion Flash 9.0.28.0 @internal The word "model" was replaced with "data provider" above. What should it say? @internal If this indicates "one or more" items were removed, we should use that string.

  
                  public static const REMOVE:String = "remove";
                  
                  
All items were removed from the data provider. @eventType removeAll @langversion 3.0 @playerversion Flash 9.0.28.0 @internal The word "model" was replaced with "data provider" above. What should it say?

  
                  public static const REMOVE_ALL:String = "removeAll";
  
                  
The items in the data provider were replaced by new items. @eventType replace @langversion 3.0 @playerversion Flash 9.0.28.0 @internal I used "data provider" here instead of the word "model". Correct?

  
                  public static const REPLACE:String = "replace";
  
                  
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. @eventType sort @langversion 3.0 @playerversion Flash 9.0.28.0 @internal The word "model" was replaced with "data provider" above. What should it say?

  
                  public static const SORT:String = "sort";
          }
  }


(C) Æliens 27/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.