topical media & game development

talk show tell print

student-ar-fl-controls-listClasses-TileListData.ax

student-ar-fl-controls-listClasses-TileListData.ax [swf] flex


  // Copyright 2007. Adobe Systems Incorporated. All Rights Reserved.
  package fl.controls.listClasses {
          
          import fl.controls.listClasses.ListData;
          import fl.core.UIComponent;
          
          
@ax-student-ar-fl-controls-listClasses-TileListData is a messenger class that holds information relevant to a specific cell in the list-based @ax-student-ar-fl-controls-listClasses-TileListData component. This information includes the label and image source that are associated with the cell; whether or not the cell is selected; and the position of the cell in the list by row and column. <p>A new @ax-student-ar-fl-controls-listClasses-TileListData component is created for a cell renderer each time it is invalidated.</p>
see: fl.controls.listClasses.ListData ListData @includeExample examples/@fileExample.as @langversion 3.0 @playerversion Flash 9.0.28.0

  
          public class @ax-student-ar-fl-controls-listClasses-TileListData extends ListData {
                  
                  
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0

  
                  protected var _source:Object;
          
                  
Creates a new instance of the @ax-student-ar-fl-controls-listClasses-TileListData class as specified by its parameters. The @ax-student-ar-fl-controls-listClasses-TileListData class inherits the properties of the ListData class, and adds a source parameter for the path to the image that is associated with the cell.
parameter: label The label to be displayed in this cell.
parameter: icon The icon to be displayed in this cell.
parameter: source The path or class that is associated with the content to be displayed in the cell.
parameter: owner The component that owns this cell.
parameter: index The index of the item in the data provider.
parameter: row The row in which this item is being displayed. In a List or DataGrid, this corresponds to the index. In a TileList it may be different than the index.
parameter: col The column in which this item is being displayed. In a List this will always be equal to 0.
see: fl.controls.listClasses.ListData ListData @langversion 3.0 @playerversion Flash 9.0.28.0

  
                  public function @ax-student-ar-fl-controls-listClasses-TileListData(label:String,icon:Object,source:Object,owner:UIComponent,index:uint,row:uint,col:uint=0) {
                          super(label,icon,owner,index,row,col);
                          _source = source;
                  }
                  
                  
Gets or sets an absolute or relative URL that identifies the location of the SWF or image file to load, the class name of a movie clip in the library, or a reference to a display object. The @ax-student-ar-fl-controls-listClasses-TileListData does not load the source, it only passes the value of the source on to the ImageCell. <p>Valid image file formats include GIF, PNG, and JPEG.</p> @default null @langversion 3.0 @playerversion Flash 9.0.28.0

  
                  public function get source():Object { 
                          return _source;
                  }
          
          }
          
  }


(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.