Packagefl.controls
Classpublic class SelectableList
InheritanceSelectableList Inheritance BaseScrollPane Inheritance UIComponent Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object
Implements IFocusManagerComponent
Subclasses DataGrid, List, TileList

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

The SelectableList is the base class for all list-based components--for example, the List, TileList, DataGrid, and ComboBox components. This class provides methods and properties that are used for the rendering and layout of rows, and to set scroll bar styles and data providers.

Note: This class does not create a component; it is exposed only so that it can be extended.

See also

fl.controls.DataGrid
fl.controls.List
fl.controls.TileList
fl.data.DataProvider


Public Properties
 PropertyDefined By
 InheritedaccessibilityProperties : AccessibilityProperties
The current accessibility options for this display object.
DisplayObject
  allowMultipleSelection : Boolean
Gets a Boolean value that indicates whether more than one list item can be selected at a time.
SelectableList
 Inheritedalpha : Number
Indicates the alpha transparency value of the object specified.
DisplayObject
 InheritedblendMode : String
A value from the BlendMode class that specifies which blend mode to use.
DisplayObject
 InheritedblendShader : Shader
[write-only] Sets a shader that is used for blending the foreground and background.
DisplayObject
 InheritedbuttonMode : Boolean
Specifies the button mode of this sprite.
Sprite
 InheritedcacheAsBitmap : Boolean
If set to true, Flash Player or Adobe AIR caches an internal bitmap representation of the display object.
DisplayObject
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedcontextMenu : NativeMenu
Specifies the context menu associated with this object.
InteractiveObject
  dataProvider : DataProvider
Gets or sets the data model of the list of items to be viewed.
SelectableList
 InheriteddoubleClickEnabled : Boolean
Specifies whether the object receives doubleClick events.
InteractiveObject
 InheriteddropTarget : DisplayObject
[read-only] Specifies the display object over which the sprite is being dragged, or on which the sprite was dropped.
Sprite
 Inheritedenabled : Boolean
Gets or sets a value that indicates whether the component can accept user interaction.
UIComponent
 Inheritedfilters : Array
An indexed array that contains each filter object currently associated with the display object.
DisplayObject
 InheritedfocusEnabled : Boolean
Gets or sets a Boolean value that indicates whether the component can receive focus after the user clicks it.
UIComponent
 InheritedfocusManager : IFocusManager
Gets or sets the FocusManager that controls focus for this component and its peers.
UIComponent
 InheritedfocusRect : Object
Specifies whether this object displays a focus rectangle.
InteractiveObject
 Inheritedgraphics : Graphics
[read-only] Specifies the Graphics object that belongs to this sprite where vector drawing commands can occur.
Sprite
 Inheritedheight : Number
[override] Gets or sets the height of the component, in pixels.
UIComponent
 InheritedhitArea : Sprite
Designates another sprite to serve as the hit area for a sprite.
Sprite
 InheritedhorizontalLineScrollSize : Number
Gets or sets a value that describes the amount of content to be scrolled, horizontally, when a scroll arrow is clicked.
BaseScrollPane
 InheritedhorizontalPageScrollSize : Number
Gets or sets the count of pixels by which to move the scroll thumb on the horizontal scroll bar when the scroll bar track is pressed.
BaseScrollPane
 InheritedhorizontalScrollBar : ScrollBar
[read-only] Gets a reference to the horizontal scroll bar.
BaseScrollPane
 InheritedhorizontalScrollPolicy : String
Gets or sets a value that indicates the state of the horizontal scroll bar.
BaseScrollPane
 InheritedhorizontalScrollPosition : Number
Gets or sets a value that describes the horizontal position of the horizontal scroll bar in the scroll pane, in pixels.
BaseScrollPane
  length : uint
[read-only] Gets the number of items in the data provider.
SelectableList
 InheritedloaderInfo : LoaderInfo
[read-only] Returns a LoaderInfo object containing information about loading the file to which this display object belongs.
DisplayObject
 Inheritedmask : DisplayObject
The calling display object is masked by the specified mask object.
DisplayObject
  maxHorizontalScrollPosition : Number
[override] Gets or sets the number of pixels that the list scrolls to the right when the horizontalScrollPolicy property is set to ScrollPolicy.ON.
SelectableList
 InheritedmaxVerticalScrollPosition : Number
[read-only] Gets the maximum vertical scroll position for the current content, in pixels.
BaseScrollPane
 InheritedmouseChildren : Boolean
Determines whether or not the children of the object are mouse enabled.
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
Specifies whether this object receives mouse messages.
InteractiveObject
 InheritedmouseFocusEnabled : Boolean
Gets or sets a value that indicates whether the component can receive focus after the user clicks it.
UIComponent
 InheritedmouseX : Number
[read-only] Indicates the x coordinate of the mouse position, in pixels.
DisplayObject
 InheritedmouseY : Number
[read-only] Indicates the y coordinate of the mouse position, in pixels.
DisplayObject
 Inheritedname : String
Indicates the instance name of the DisplayObject.
DisplayObject
 InheritednumChildren : int
[read-only] Returns the number of children of this object.
DisplayObjectContainer
 InheritedopaqueBackground : Object
Specifies whether the display object is opaque with a certain background color.
DisplayObject
 Inheritedparent : DisplayObjectContainer
[read-only] Indicates the DisplayObjectContainer object that contains this display object.
DisplayObject
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 Inheritedroot : DisplayObject
[read-only] For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
DisplayObject
 Inheritedrotation : Number
Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation.
DisplayObject
 InheritedrotationX : Number
Indicates the x-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
DisplayObject
 InheritedrotationY : Number
Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
DisplayObject
 InheritedrotationZ : Number
Indicates the z-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container.
DisplayObject
  rowCount : uint
[read-only] Gets the number of rows that are at least partially visible in the list.
SelectableList
 Inheritedscale9Grid : Rectangle
The current scaling grid that is in effect.
DisplayObject
 InheritedscaleX : Number
[override] Multiplies the current width of the component by a scale factor.
UIComponent
 InheritedscaleY : Number
[override] Multiplies the current height of the component by a scale factor.
UIComponent
 InheritedscaleZ : Number
Indicates the depth scale (percentage) of an object as applied from the registration point of the object.
DisplayObject
 InheritedscrollRect : Rectangle
The scroll rectangle bounds of the display object.
DisplayObject
  selectable : Boolean
Gets or sets a Boolean value that indicates whether the items in the list can be selected.
SelectableList
  selectedIndex : int
Gets or sets the index of the item that is selected in a single-selection list.
SelectableList
  selectedIndices : Array
Gets or sets an array that contains the items that were selected from a multiple-selection list.
SelectableList
  selectedItem : Object
Gets or sets the item that was selected from a single-selection list.
SelectableList
  selectedItems : Array
Gets or sets an array that contains the objects for the items that were selected from the multiple-selection list.
SelectableList
 InheritedsoundTransform : flash.media:SoundTransform
Controls sound within this sprite.
Sprite
 Inheritedstage : Stage
[read-only] The Stage of the display object.
DisplayObject
 InheritedtabChildren : Boolean
Determines whether the children of the object are tab enabled.
DisplayObjectContainer
 InheritedtabEnabled : Boolean
Specifies whether this object is in the tab order.
InteractiveObject
 InheritedtabIndex : int
Specifies the tab ordering of objects in a SWF file.
InteractiveObject
 InheritedtextSnapshot : flash.text:TextSnapshot
[read-only] Returns a TextSnapshot object for this DisplayObjectContainer instance.
DisplayObjectContainer
 Inheritedtransform : flash.geom:Transform
An object with properties pertaining to a display object's matrix, color transform, and pixel bounds.
DisplayObject
 InheriteduseBitmapScrolling : Boolean
When set to true, the cacheAsBitmap property for the scrolling content is set to true; when set to false this value is turned off.
BaseScrollPane
 InheriteduseHandCursor : Boolean
A Boolean value that indicates whether the pointing hand (hand cursor) appears when the mouse rolls over a sprite in which the buttonMode property is set to true.
Sprite
 Inheritedversion : String = "3.0.0.16"
The version number of the components.
UIComponent
 InheritedverticalLineScrollSize : Number
Gets or sets a value that describes how many pixels to scroll vertically when a scroll arrow is clicked.
BaseScrollPane
 InheritedverticalPageScrollSize : Number
Gets or sets the count of pixels by which to move the scroll thumb on the vertical scroll bar when the scroll bar track is pressed.
BaseScrollPane
 InheritedverticalScrollBar : ScrollBar
[read-only] Gets a reference to the vertical scroll bar.
BaseScrollPane
 InheritedverticalScrollPolicy : String
Gets or sets a value that indicates the state of the vertical scroll bar.
BaseScrollPane
 InheritedverticalScrollPosition : Number
Gets or sets a value that describes the vertical position of the vertical scroll bar in the scroll pane, in pixels.
BaseScrollPane
 Inheritedvisible : Boolean
[override] Gets or sets a value that indicates whether the current component instance is visible.
UIComponent
 Inheritedwidth : Number
[override] Gets or sets the width of the component, in pixels.
UIComponent
 Inheritedx : Number
[override] Gets or sets the x coordinate that represents the position of the component along the x axis within its parent container.
UIComponent
 Inheritedy : Number
[override] Gets or sets the y coordinate that represents the position of the component along the y axis within its parent container.
UIComponent
 Inheritedz : Number
Indicates the z coordinate position along the z-axis of the DisplayObject instance relative to the 3D parent container.
DisplayObject
Public Methods
 MethodDefined By
  
Creates a new SelectableList instance.
SelectableList
 Inherited
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
  
Appends an item to the end of the list of items.
SelectableList
  
addItemAt(item:Object, index:uint):void
Inserts an item into the list at the specified index location.
SelectableList
 Inherited
Indicates whether the security restrictions would cause any display objects to be omitted from the list returned by calling the DisplayObjectContainer.getObjectsUnderPoint() method with the specified point point.
DisplayObjectContainer
  
clearRendererStyle(name:String, column:int = -1):void
Clears a style that is set on the renderers in the list.
SelectableList
  
Clears the currently selected item in the list and sets the selectedIndex property to -1.
SelectableList
 Inherited
Deletes a style property from this component instance.
UIComponent
 Inherited
Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.
DisplayObjectContainer
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
Shows or hides the focus indicator on this component.
UIComponent
 Inherited
Initiates an immediate draw operation, without invalidating everything as invalidateNow does.
UIComponent
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object.
DisplayObject
 Inherited
Returns the child display object instance that exists at the specified index.
DisplayObjectContainer
 Inherited
Returns the child display object that exists with the specified name.
DisplayObjectContainer
 Inherited
Returns the index position of a child DisplayObject instance.
DisplayObjectContainer
 Inherited
Retrieves the object that currently has focus.
UIComponent
  
Retrieves the item at the specified index.
SelectableList
  
getNextIndexAtLetter(firstLetter:String, startIndex:int = -1):int
Returns the index of the next item in the dataProvider in which the label's first character matches a specified string character.
SelectableList
 Inherited
Returns an array of objects that lie under the specified point and are children (or grandchildren, and so on) of this DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
Returns a rectangle that defines the boundary of the display object, based on the coordinate system defined by the targetCoordinateSpace parameter, excluding any strokes on shapes.
DisplayObject
  
getRendererStyle(name:String, column:int = -1):Object
Retrieves a style that is set on the renderers in the list.
SelectableList
 Inherited
Retrieves a style property that is set in the style lookup chain of the component.
UIComponent
  
[static] Retrieves the default style map for the current component.
SelectableList
 Inherited
Converts the point object from the Stage (global) coordinates to the display object's (local) coordinates.
DisplayObject
 Inherited
Converts a two-dimensional point from the Stage (global) coordinates to a three-dimensional display object's (local) coordinates.
DisplayObject
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Evaluates the bounding box of the display object to see if it overlaps or intersects with the bounding box of the obj display object.
DisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
Evaluates the display object to see if it overlaps or intersects with the point specified by the x and y parameters.
DisplayObject
 Inherited
invalidate(property:String, callLater:Boolean = true):void
Marks a property as invalid and redraws the component on the next frame unless otherwise specified.
UIComponent
  
Invalidates a specific item renderer.
SelectableList
  
Invalidates the renderer for the item at the specified index.
SelectableList
  
Invalidates the whole list, forcing the list items to be redrawn.
SelectableList
  
Checks whether the specified item is selected in the list.
SelectableList
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
  
Retrieves the ICellRenderer for a given item object, if there is one.
SelectableList
  
Retrieves the string that the renderer displays for the given data object based on the label properties of the object.
SelectableList
 Inherited
Converts a three-dimensional point of the three-dimensional display object's (local) coordinates to a two-dimensional point in the Stage (global) coordinates.
DisplayObject
 Inherited
Converts the point object from the display object's (local) coordinates to the Stage (global) coordinates.
DisplayObject
 Inherited
[static] Merges the styles from multiple classes into one object.
UIComponent
 Inherited
Moves the component to the specified position within its parent.
UIComponent
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
Removes all items from the list.
SelectableList
 Inherited
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
DisplayObjectContainer
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
  
Removes the specified item from the list.
SelectableList
  
Removes the item at the specified index position.
SelectableList
  
Replaces the item at the specified index location with another item.
SelectableList
  
scrollToIndex(newCaretIndex:int):void
Scrolls the list to the item at the specified index.
SelectableList
  
Scrolls the list to the item at the location indicated by the current value of the selectedIndex property.
SelectableList
 Inherited
Changes the position of an existing child in the display object container.
DisplayObjectContainer
 Inherited
Sets the focus to this component.
UIComponent
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
  
setRendererStyle(name:String, style:Object, column:uint = 0):void
Sets a style on the renderers in the list.
SelectableList
 Inherited
setSize(width:Number, height:Number):void
Sets the component to the specified width and height.
UIComponent
 Inherited
setStyle(style:String, value:Object):void
Sets a style property on this component instance.
UIComponent
  
sortItems(... sortArgs):*
Sorts the elements of the current data provider.
SelectableList
  
sortItemsOn(field:String, options:Object = null):*
Sorts the elements of the current data provider by one or more of its fields.
SelectableList
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
Lets the user drag the specified sprite.
Sprite
 Inherited
Ends the startDrag() method.
Sprite
 Inherited
Swaps the z-order (front-to-back order) of the two specified child objects.
DisplayObjectContainer
 Inherited
swapChildrenAt(index1:int, index2:int):void
Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the child list.
DisplayObjectContainer
 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
Validates and updates the properties and layout of this object, redrawing it if necessary.
UIComponent
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Protected Methods
 MethodDefined By
 Inherited
Returns the specified style for a component, considering all styles set on the global level, component level and instance level.
UIComponent
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
 InheritedDispatched when a display object is added to the display list.DisplayObject
 InheritedDispatched when a display object is added to the on stage display list, either directly or through the addition of a sub tree in which the display object is contained.DisplayObject
  Dispatched when a different item is selected in the list.SelectableList
 InheritedDispatched when the user selects 'Clear' (or 'Delete') from the text context menu.InteractiveObject
 InheritedDispatched when a user presses and releases the main button of the user's pointing device over the same InteractiveObject.InteractiveObject
 InheritedDispatched when a user gesture triggers the context menu associated with this interactive object in an AIR application.InteractiveObject
 InheritedDispatched when the user activates the platform specific accelerator key combination for a copy operation or selects 'Copy' from the text context menu.InteractiveObject
 InheritedDispatched when the user activates the platform specific accelerator key combination for a cut operation or selects 'Cut' from the text context menu.InteractiveObject
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.EventDispatcher
 InheritedDispatched when a user presses and releases the main button of a pointing device twice in rapid succession over the same InteractiveObject when that object's doubleClickEnabled flag is set to true.InteractiveObject
 Inherited[broadcast event] Dispatched when the playhead is entering a new frame.DisplayObject
 Inherited[broadcast event] Dispatched when the playhead is exiting the current frame.DisplayObject
 InheritedDispatched after a display object gains focus.InteractiveObject
 InheritedDispatched after a display object loses focus.InteractiveObject
 Inherited[broadcast event] Dispatched after the constructors of frame display objects have run but before frame scripts have run.DisplayObject
 InheritedDispatched after the component visibility changes from visible to invisible.UIComponent
  Dispatched when the user clicks an item in the component.SelectableList
  Dispatched when the user clicks an item in the component twice in rapid succession.SelectableList
  Dispatched when the user rolls the pointer off of an item in the component.SelectableList
  Dispatched when the user rolls the pointer over an item in the component.SelectableList
 InheritedDispatched when the user presses a key.InteractiveObject
 InheritedDispatched when the user attempts to change focus by using keyboard navigation.InteractiveObject
 InheritedDispatched when the user releases a key.InteractiveObject
 InheritedDispatched when a user presses and releases the middle button of the user's pointing device over the same InteractiveObject.InteractiveObject
 InheritedDispatched when a user presses the middle pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a user releases the pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a user presses the pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when the user attempts to change focus by using a pointer device.InteractiveObject
 InheritedDispatched when a user moves the pointing device while it is over an InteractiveObject.InteractiveObject
 InheritedDispatched when the user moves a pointing device away from an InteractiveObject instance.InteractiveObject
 InheritedDispatched when the user moves a pointing device over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a user releases the pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a mouse wheel is spun over an InteractiveObject instance.InteractiveObject
 InheritedDispatched after the component is moved.UIComponent
 InheritedDispatched by the drag initiator InteractiveObject when the user releases the drag gesture.InteractiveObject
 InheritedDispatched by the target InteractiveObject when a dragged object is dropped on it and the drop has been accepted with a call to DragManager.acceptDragDrop().InteractiveObject
 InheritedDispatched by an InteractiveObject when a drag gesture enters its boundary.InteractiveObject
 InheritedDispatched by an InteractiveObject when a drag gesture leaves its boundary.InteractiveObject
 InheritedDispatched by an InteractiveObject continually while a drag gesture remains within its boundary.InteractiveObject
 InheritedDispatched at the beginning of a drag operation by the InteractiveObject that is specified as the drag initiator in the DragManager.doDrag() call.InteractiveObject
 InheritedDispatched during a drag operation by the InteractiveObject that is specified as the drag initiator in the DragManager.doDrag() call.InteractiveObject
 InheritedDispatched when the user activates the platform specific accelerator key combination for a paste operation or selects 'Paste' from the text context menu.InteractiveObject
 InheritedDispatched when a display object is about to be removed from the display list.DisplayObject
 InheritedDispatched when a display object is about to be removed from the display list, either directly or through the removal of a sub tree in which the display object is contained.DisplayObject
 Inherited[broadcast event] Dispatched when the display list is about to be updated and rendered.DisplayObject
 InheritedDispatched after the component is resized.UIComponent
 InheritedDispatched when a user presses and releases the right button of the user's pointing device over the same InteractiveObject.InteractiveObject
 InheritedDispatched when a user presses the pointing device button over an InteractiveObject instance.InteractiveObject
 InheritedDispatched when a user releases the pointing device button over an InteractiveObject instance.InteractiveObject
  Dispatched when the user rolls the pointer off of the component.SelectableList
  Dispatched when the user rolls the pointer over the component.SelectableList
  Dispatched when the user scrolls horizontally or vertically.SelectableList
 InheritedDispatched when the user activates the platform specific accelerator key combination for a select all operation or selects 'Select All' from the text context menu.InteractiveObject
 InheritedDispatched after the component visibility changes from invisible to visible.UIComponent
 InheritedDispatched when the value of the object's tabChildren flag changes.InteractiveObject
 InheritedDispatched when the object's tabEnabled flag changes.InteractiveObject
 InheritedDispatched when the value of the object's tabIndex property changes.InteractiveObject
 InheritedDispatched when a user enters one or more characters of text.InteractiveObject
Styles
 Style Description Defined By
  
cellRenderer
Type: Class
The class that provides the cell renderer for each item in the component. The default value is fl.contols.listClasses.CellRenderer.
SelectableList
  
contentPadding
Type: Number Format: Length
The padding that separates the border of the list from its contents, in pixels. The default value is null.
SelectableList
  
disabledAlpha
Type: Number
The alpha value to set the list to when the enabled property is false. The default value is null.
SelectableList
 InheritedType: flash.text.TextFormat
The TextFormat object to use to render the component label when the button is disabled.
UIComponent
 InheritedType: Class
Name of the class to use as the skin for the down arrow button of the scroll bar when it is disabled.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin for the down arrow button of the scroll bar when you click the arrow button.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin for the down arrow button of the scroll bar when the mouse pointer is over the arrow button.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin for the down arrow button of the scroll bar.
BaseScrollPane
 InheritedType: Number Format: Length
The padding that separates the outside boundaries of the component from the outside edges of the focus indicator, in pixels.
UIComponent
 InheritedType: Class
The skin to be used to display focus indicators.
UIComponent
 InheritedType: Number Format: Time
The number of milliseconds to wait after the buttonDown event is first dispatched before sending a second buttonDown event.
BaseScrollPane
 InheritedType: Number Format: Time
The interval, in milliseconds, between buttonDown events that are dispatched after the delay that is specified by the repeatDelay style.
BaseScrollPane
  
skin
Type: Class
The class that provides the skin for the background of the component. The default value is List_skin.
SelectableList
 InheritedType: flash.text.TextFormat
The TextFormat object to use to render the component label.
UIComponent
 InheritedType: Class
The skin that is used to indicate the disabled state of the thumb.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin for the thumb of the scroll bar when you click the thumb.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the icon for the thumb of the scroll bar.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin for the thumb of the scroll bar when the mouse pointer is over the thumb.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin used for the thumb of the scroll bar.
BaseScrollPane
 InheritedType: Class
The skin that is used to indicate a disabled track.
BaseScrollPane
 InheritedType: Class
The skin that is used to indicate the down state of a disabled skin.
BaseScrollPane
 InheritedType: Class
The skin that is used to indicate the mouseover state for the scroll track.
BaseScrollPane
 InheritedType: Class
The skin used to indicate the mouse up state for the scroll track.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin for the up arrow button of the scroll bar when it is disabled.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin for the up arrow button of the scroll bar when you click the arrow button.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin for the up arrow button of the scroll bar when the mouse pointer is over the arrow button.
BaseScrollPane
 InheritedType: Class
Name of the class to use as the skin for the up arrow button of the scroll bar.
BaseScrollPane
Property Detail
allowMultipleSelectionproperty
allowMultipleSelection:Boolean

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets a Boolean value that indicates whether more than one list item can be selected at a time. A value of true indicates that multiple selections can be made at one time; a value of false indicates that only one item can be selected at one time.

The default value is false.



Implementation
    public function get allowMultipleSelection():Boolean
    public function set allowMultipleSelection(value:Boolean):void

See also


Example
The following example creates a new List instance and traces the selectedIndex and selectedIndices properties when the selected items in the list change:

import fl.controls.List;
import fl.data.DataProvider;

var items:XML = <items>
        <item label="Item A" />
        <item label="Item B" />
        <item label="Item C" />
    </items>;

var dp:DataProvider = new DataProvider(items);

var myList:List = new List();
myList.dataProvider = dp;
myList.allowMultipleSelection = true;
myList.move(10, 10);
myList.setSize(320, 240);
myList.addEventListener(Event.CHANGE, changeHandler);
addChild(myList);

function changeHandler(event:Event):void {
    var lst:List = event.currentTarget as List;
    trace("change:");
    trace("\t" + "selectedIndex:", lst.selectedIndex);
    trace("\t" + "selectedIndices:", lst.selectedIndices);
    trace("\t" + "Number selected items:", lst.selectedIndices.length);
}
dataProviderproperty 
dataProvider:DataProvider

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets or sets the data model of the list of items to be viewed. A data provider can be shared by multiple list-based components. Changes to the data provider are immediately available to all components that use it as a data source.

The default value is null.



Implementation
    public function get dataProvider():DataProvider
    public function set dataProvider(value:DataProvider):void
lengthproperty 
length:uint  [read-only]

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets the number of items in the data provider.



Implementation
    public function get length():uint

Example
The following example creates a List component instance and sets the rowCount property to the current number of items in the list:

import fl.controls.List;

var myList:List = new List();
myList.addItem({label:"Item A"});
myList.addItem({label:"Item B"});
myList.addItem({label:"Item C"});
myList.addItem({label:"Item D"});
myList.rowCount = myList.length;
myList.move(10, 10);
addChild(myList);
maxHorizontalScrollPositionproperty 
maxHorizontalScrollPosition:Number[override]

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets or sets the number of pixels that the list scrolls to the right when the horizontalScrollPolicy property is set to ScrollPolicy.ON.



Implementation
    override public function get maxHorizontalScrollPosition():Number
    override public function set maxHorizontalScrollPosition(value:Number):void

See also

rowCountproperty 
rowCount:uint  [read-only]

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets the number of rows that are at least partially visible in the list.

Note: This property must be overridden in any class that extends SelectableList.

The default value is 0.



Implementation
    public function get rowCount():uint

Example
This example sets the size of a list and determines the number of potentially visible rows by tracing the rowCount property:

import fl.data.DataProvider;
import fl.controls.List;

var dp:DataProvider = new DataProvider();
var i:uint;
for(i=0; i<100; i++) {
    dp.addItem( { label: "Item " + i } );
}

var list:List = new List();
list.setSize(100,300);
list.dataProvider = dp;
addChild(list);

trace(list.rowCount); // 15
selectableproperty 
selectable:Boolean

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets or sets a Boolean value that indicates whether the items in the list can be selected. A value of true indicates that the list items can be selected; a value of false indicates that they cannot be.

The default value is true.



Implementation
    public function get selectable():Boolean
    public function set selectable(value:Boolean):void

See also

selectedIndexproperty 
selectedIndex:int

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets or sets the index of the item that is selected in a single-selection list. A single-selection list is a list in which only one item can be selected at a time.

A value of -1 indicates that no item is selected; if multiple selections are made, this value is equal to the index of the item that was selected last in the group of selected items.

When ActionScript is used to set this property, the item at the specified index replaces the current selection. When the selection is changed programmatically, a change event object is not dispatched.



Implementation
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void

See also


Example
This example traces the label and row index of any item in a list that was clicked:

import fl.controls.List;
import fl.data.DataProvider;

var dp:DataProvider = new DataProvider();
var i:uint;
for (i = 0; i < 5; i++) {
    dp.addItem( { label: "Sample Name"} );
}

var list:List = new List();
list.dataProvider = dp;
list.addEventListener(Event.CHANGE,announceClickedItem)
addChild(list);

function announceClickedItem(e:Event):void {
    trace("You have clicked: " + list.selectedItem.label + " in row " + list.selectedIndex);
}
selectedIndicesproperty 
selectedIndices:Array

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets or sets an array that contains the items that were selected from a multiple-selection list.

To replace the current selection programmatically, you can make an explicit assignment to this property. You can clear the current selection by setting this property to an empty array or to a value of undefined. If no items are selected from the list of items, this property is undefined.

The sequence of values in the array reflects the order in which the items were selected from the multiple-selection list. For example, if you click the second item from the list, then the third item, and finally the first item, this property contains an array of values in the following sequence: [1,2,0].



Implementation
    public function get selectedIndices():Array
    public function set selectedIndices(value:Array):void

See also

selectedItemproperty 
selectedItem:Object

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets or sets the item that was selected from a single-selection list. For a multiple-selection list in which multiple items are selected, this property contains the item that was selected last.

If no selection is made, the value of this property is null.



Implementation
    public function get selectedItem():Object
    public function set selectedItem(value:Object):void

See also


Example
This example traces the label and row index of any item in a list that was clicked:

import fl.controls.List;
import fl.data.DataProvider;

var dp:DataProvider = new DataProvider();
var i:uint;
for (i = 0; i < 5; i++) {
    dp.addItem( { label: "Sample Name"} );
}

var list:List = new List();
list.dataProvider = dp;
list.addEventListener(Event.CHANGE,announceClickedItem)
addChild(list);

function announceClickedItem(e:Event):void {
    trace("You have clicked: " + list.selectedItem.label + " in row " + list.selectedIndex);
}
selectedItemsproperty 
selectedItems:Array

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Gets or sets an array that contains the objects for the items that were selected from the multiple-selection list.

For a single-selection list, the value of this property is an array containing the one selected item. In a single-selection list, the allowMultipleSelection property is set to false.



Implementation
    public function get selectedItems():Array
    public function set selectedItems(value:Array):void

See also


Example
The following example creates to List component instances and copies the selected items from list A to list B:

import fl.controls.List;
import fl.data.DataProvider;

var listA:List = new List();
listA.allowMultipleSelection = true;
listA.addItem({label:"Item A"});
listA.addItem({label:"Item B"});
listA.addItem({label:"Item C"});
listA.addItem({label:"Item D"});
listA.addItem({label:"Item E"});
listA.addItem({label:"Item F"});
listA.addItem({label:"Item G"});
listA.move(10, 10);
listA.addEventListener(Event.CHANGE, changeHandler);
addChild(listA);

var listB:List = new List();
listB.selectable = false;
listB.move(120, 10);
addChild(listB);

function changeHandler(event:Event):void {
    if (listA.selectedItems.length > 0) {
        listB.dataProvider = new DataProvider(listA.selectedItems);
    }
}
Constructor Detail
SelectableList()Constructor
public function SelectableList()

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Creates a new SelectableList instance.

Method Detail
addItem()method
public function addItem(item:Object):void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Appends an item to the end of the list of items.

An item should contain label and data properties; however, items that contain other properties can also be added to the list. By default, the label property of an item is used to display the label of the row; the data property is used to store the data of the row.

Parameters

item:Object — The item to be added to the data provider.

See also

addItemAt()method 
public function addItemAt(item:Object, index:uint):void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Inserts an item into the list at the specified index location. The indices of items at or after the specified index location are incremented by 1.

Parameters

item:Object — The item to be added to the list.
 
index:uint — The index at which to add the item.


Throws
RangeError — The specified index is less than 0 or greater than or equal to the length of the data provider.

See also

clearRendererStyle()method 
public function clearRendererStyle(name:String, column:int = -1):void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Clears a style that is set on the renderers in the list.

Parameters

name:String — The name of the style to be cleared.
 
column:int (default = -1)

See also

clearSelection()method 
public function clearSelection():void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Clears the currently selected item in the list and sets the selectedIndex property to -1.


Example

The following example creates a List component instance and clears the currently selected list items when a Button component is clicked:

import fl.controls.Button;
import fl.controls.List;
import fl.data.DataProvider;

var data:XML = <items>
        <item label="Person A" id="p001" />
        <item label="Person B" id="p002" />
        <item label="Person C" id="p003" />
    </items>;

var dp:DataProvider = new DataProvider(data);

var myList:List = new List();
myList.allowMultipleSelection = false;
myList.dataProvider = dp;
myList.move(10, 10);
myList.selectedIndex = 0;
addChild(myList);

var clearButton:Button = new Button();
clearButton.label = "Clear selection";
clearButton.move(120, 10);
clearButton.addEventListener(MouseEvent.CLICK, clickHandler);
addChild(clearButton);

function clickHandler(event:MouseEvent):void {
    trace("selectedIndex (before):", myList.selectedIndex);
    myList.clearSelection();
    trace("selectedIndex (after):", myList.selectedIndex);
}
getItemAt()method 
public function getItemAt(index:uint):Object

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Retrieves the item at the specified index.

Parameters

index:uint — The index of the item to be retrieved.

Returns
Object — The object at the specified index location.

Throws
RangeError — The specified index is less than 0 or greater than or equal to the length of the data provider.
getNextIndexAtLetter()method 
public function getNextIndexAtLetter(firstLetter:String, startIndex:int = -1):int

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Returns the index of the next item in the dataProvider in which the label's first character matches a specified string character. If the search reaches the end of the dataProvider without searching all the items, it will loop back to the start. The search does not include the startIndex.

Parameters

firstLetter:String — The string character to search for
 
startIndex:int (default = -1) — The index in the dataProvider to start at.

Returns
int — The index of the next item in the dataProvider.
getRendererStyle()method 
public function getRendererStyle(name:String, column:int = -1):Object

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Retrieves a style that is set on the renderers in the list.

Parameters

name:String — The name of the style to be retrieved.
 
column:int (default = -1) — The value of the style to be retrieved.

Returns
Object

See also

getStyleDefinition()method 
public static function getStyleDefinition():Object

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Retrieves the default style map for the current component. The style map contains the type that is appropriate for the component, depending on the style that the component uses. For example, the disabledTextFormat style contains a value of null or a TextFormat object. You can use these styles and call setStyle() on the current component. The following code overrides the default disabledTextFormat style on the specified component:

componentInstance.setStyle("disabledTextFormat", new TextFormat());

Returns
Object — Default styles object.

See also


Example

The following example creates a style browser for several component classes:
import fl.controls.*;
import fl.containers.*;
import fl.controls.listClasses.*;
import fl.controls.dataGridClasses.*;
import fl.controls.progressBarClasses.*;
import fl.core.UIComponent;
import fl.data.DataProvider;

var dp:DataProvider = new DataProvider();
dp.addItem( { label: "BaseScrollPane",    data:BaseScrollPane } );
dp.addItem( { label: "Button",             data:Button } );
dp.addItem( { label: "CellRenderer",    data:CellRenderer } );
dp.addItem( { label: "CheckBox",         data:CheckBox } );
dp.addItem( { label: "ColorPicker",     data:ColorPicker } );
dp.addItem( { label: "ComboBox",         data:ComboBox } );
dp.addItem( { label: "DataGrid",         data:DataGrid } );
dp.addItem( { label: "HeaderRenderer",    data:HeaderRenderer } );
dp.addItem( { label: "ImageCell",        data:ImageCell } );
dp.addItem( { label: "IndeterminateBar",data:IndeterminateBar } );
dp.addItem( { label: "Label",             data:Label } );
dp.addItem( { label: "List",             data:List } );
dp.addItem( { label: "NumericStepper",     data:NumericStepper } );
dp.addItem( { label: "ProgressBar",     data:ProgressBar } );
dp.addItem( { label: "RadioButton",     data:RadioButton } );
dp.addItem( { label: "ScrollPane",         data:ScrollPane } );
dp.addItem( { label: "Slider",             data:Slider } );
dp.addItem( { label: "TextArea",         data:TextArea } );
dp.addItem( { label: "TextInput",         data:TextInput } );
dp.addItem( { label: "TileList",         data:TileList } );
dp.addItem( { label: "UILoader",         data:UILoader } );
dp.addItem( { label: "UIComponent",     data:UIComponent } );

var cb:ComboBox = new ComboBox();
cb.move(10,10);
cb.setSize(300,25);
cb.prompt = "Select a component to view its styles";
cb.rowCount = 12;
cb.dataProvider = dp;
cb.addEventListener(Event.CHANGE, showStyleDefinition);
addChild(cb);

var dg:DataGrid = new DataGrid();
dg.setSize(425,300);
dg.move(10,50);
dg.columns = [ new DataGridColumn("StyleName"), new DataGridColumn("DefaultValue") ];
addChild(dg);

function showStyleDefinition(e:Event):void {
    var componentClass:Class = e.target.selectedItem.data as Class;
    var styles:Object = componentClass["getStyleDefinition"].call(this);
    trace(styles.toString());
    var styleData:DataProvider = new DataProvider();
    for(var i:* in styles) {
        trace(i + " : " + styles[i]);
        styleData.addItem( { StyleName:i, DefaultValue:styles[i] } );
    }
    styleData.sortOn("StyleName");
    dg.dataProvider = styleData;
}
invalidateItem()method 
public function invalidateItem(item:Object):void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Invalidates a specific item renderer.

Parameters

item:Object — The item in the data provider to invalidate.

See also

invalidateItemAt()method 
public function invalidateItemAt(index:uint):void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Invalidates the renderer for the item at the specified index.

Parameters

index:uint — The index of the item in the data provider to invalidate.

See also

invalidateList()method 
public function invalidateList():void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Invalidates the whole list, forcing the list items to be redrawn.

See also

isItemSelected()method 
public function isItemSelected(item:Object):Boolean

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Checks whether the specified item is selected in the list.

Parameters

item:Object — The item to check.

Returns
Boolean — This method returns true if the specified item is selected; otherwise, if the specified item has a value of null or is not included in the list, this method returns false.
itemToCellRenderer()method 
public function itemToCellRenderer(item:Object):ICellRenderer

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Retrieves the ICellRenderer for a given item object, if there is one. This method always returns null.

Parameters

item:Object — The item in the data provider.

Returns
ICellRenderer — A value of null.

Example

The following example demonstrates how to acquire the cell renderer for an item that is selected within a list:
import fl.controls.List;
import fl.controls.listClasses.ListData;
import fl.controls.listClasses.CellRenderer;
import fl.events.ListEvent;

var sampleItem1:Object = { label:"John Alpha" };
var sampleItem2:Object = { label:"Mary Bravo" };
var sampleItem3:Object = { label:"Trevor Gamma" };
var sampleItem4:Object = { label:"Susan Delta" };        

var myList:List;
myList = new List();
myList.move(10,10);
myList.addItem(sampleItem1);
myList.addItem(sampleItem2);
myList.addItem(sampleItem3);
myList.addItem(sampleItem4);
myList.addEventListener(ListEvent.ITEM_CLICK, listItemSelected);
addChild(myList);

function listItemSelected(e:ListEvent):void {
    var cr:CellRenderer = myList.itemToCellRenderer(e.item) as CellRenderer;
    var listData:ListData = cr.listData;

    trace("You have selected row: " + listData.row);
}
itemToLabel()method 
public function itemToLabel(item:Object):String

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Retrieves the string that the renderer displays for the given data object based on the label properties of the object. This method is intended to be overwritten in sub-components. For example, List has a labelField and a labelFunction to derive the label.

Parameters

item:Object

Returns
String
removeAll()method 
public function removeAll():void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Removes all items from the list.

removeItem()method 
public function removeItem(item:Object):Object

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Removes the specified item from the list.

Parameters

item:Object — The item to be removed.

Returns
Object — The item that was removed.

Throws
RangeError — The item could not be found.

See also

removeItemAt()method 
public function removeItemAt(index:uint):Object

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Removes the item at the specified index position. The indices of items after the specified index location are decremented by 1.

Parameters

index:uint — The index of the item in the data provider to be removed.

Returns
Object — The item that was removed.

See also

replaceItemAt()method 
public function replaceItemAt(item:Object, index:uint):Object

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Replaces the item at the specified index location with another item. This method modifies the data provider of the List component. If the data provider is shared with other components, the data that is provided to those components is also updated.

Parameters

item:Object — The item to replace the item at the specified index location.
 
index:uint — The index position of the item to be replaced.

Returns
Object — The item that was replaced.

Throws
RangeError — The specified index is less than 0 or greater than or equal to the length of the data provider.

See also

scrollToIndex()method 
public function scrollToIndex(newCaretIndex:int):void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Scrolls the list to the item at the specified index. If the index is out of range, the scroll position does not change.

Parameters

newCaretIndex:int — The index location to scroll to.

scrollToSelected()method 
public function scrollToSelected():void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Scrolls the list to the item at the location indicated by the current value of the selectedIndex property.

See also

setRendererStyle()method 
public function setRendererStyle(name:String, style:Object, column:uint = 0):void

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Sets a style on the renderers in the list.

Parameters

name:String — The name of the style to be set.
 
style:Object — The value of the style to be set.
 
column:uint (default = 0)

See also


Example

The following example creates a List component and uses the setRendererStyle() method to apply a text format to the list items:

import fl.controls.List;

var myTextFormat:TextFormat = new TextFormat();
myTextFormat.font = "Comic Sans MS";

var myList:List = new List();
myList.addItem({label:"The quick brown fox..."});
myList.addItem({label:"The quick brown fox..."});
myList.addItem({label:"The quick brown fox..."});
myList.addItem({label:"The quick brown fox..."});
myList.addItem({label:"The quick brown fox..."});
myList.addItem({label:"The quick brown fox..."});
myList.setRendererStyle("textFormat", myTextFormat);
myList.width = 150;
myList.move(10, 10);
addChild(myList);

The following example creates a DataGrid component and uses the setRendererStyle() method to apply a text format to the list items:

import fl.controls.DataGrid;

var myTextFormat:TextFormat = new TextFormat();
myTextFormat.font = "Comic Sans MS";

var myDataGrid:DataGrid = new DataGrid();
myDataGrid.addColumn("column1");
myDataGrid.addColumn("column2");
myDataGrid.addItem({column1:"The quick brown fox...", column2:"...jumped over the lazy dog."});
myDataGrid.addItem({column1:"The quick brown fox...", column2:"...jumped over the lazy dog."});
myDataGrid.addItem({column1:"The quick brown fox...", column2:"...jumped over the lazy dog."});
myDataGrid.addItem({column1:"The quick brown fox...", column2:"...jumped over the lazy dog."});
myDataGrid.addItem({column1:"The quick brown fox...", column2:"...jumped over the lazy dog."});
myDataGrid.addItem({column1:"The quick brown fox...", column2:"...jumped over the lazy dog."});
myDataGrid.setStyle("headerTextFormat", myTextFormat);
myDataGrid.setRendererStyle("textFormat", myTextFormat);
myDataGrid.width = 300;
myDataGrid.move(10, 10);
addChild(myDataGrid);

The following example creates a TileList component and uses the setRendererStyle() method to apply a text format to the list items:

import fl.controls.TileList;

var myTextFormat:TextFormat = new TextFormat();
myTextFormat.font = "Comic Sans MS";
myTextFormat.color = 0xFF0000;
myTextFormat.bold = true;

var myTileList:TileList = new TileList();
myTileList.addItem({label:"Image 1", source:"http://www.helpexamples.com/flash/images/image1.jpg"});
myTileList.addItem({label:"Image 2", source:"http://www.helpexamples.com/flash/images/image2.jpg"});
myTileList.addItem({label:"Image 3", source:"http://www.helpexamples.com/flash/images/image3.jpg"});
myTileList.setRendererStyle("textFormat", myTextFormat);
myTileList.columnWidth = 100;
myTileList.rowHeight = 67;
myTileList.columnCount = 3;
myTileList.rowCount = 1;
myTileList.move(10, 10);
addChild(myTileList);

The following example creates a ComboBox component and uses the setRendererStyle() method to apply a text format to the list items:

import fl.controls.ComboBox;

var myTextFormat:TextFormat = new TextFormat();
myTextFormat.font = "Comic Sans MS";

var myComboBox:ComboBox = new ComboBox();
myComboBox.addItem({label:"The quick brown fox..."});
myComboBox.addItem({label:"The quick brown fox..."});
myComboBox.addItem({label:"The quick brown fox..."});
myComboBox.addItem({label:"The quick brown fox..."});
myComboBox.addItem({label:"The quick brown fox..."});
myComboBox.addItem({label:"The quick brown fox..."});
myComboBox.textField.setStyle("textFormat", myTextFormat);
myComboBox.dropdown.setRendererStyle("textFormat", myTextFormat);
myComboBox.width = 150;
myComboBox.move(10, 10);
addChild(myComboBox);
sortItems()method 
public function sortItems(... sortArgs):*

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Sorts the elements of the current data provider. This method performs a sort based on the Unicode values of the elements. ASCII is a subset of Unicode.

Parameters

... sortArgs — The arguments against which to sort.

Returns
* — The return value depends on whether any parameters are passed to this method. For more information, see the Array.sort() method. Note that this method returns 0 when the sortArgs parameter is set to Array.UNIQUESORT.

See also

sortItemsOn()method 
public function sortItemsOn(field:String, options:Object = null):*

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Sorts the elements of the current data provider by one or more of its fields.

Parameters

field:String — The field on which to sort.
 
options:Object (default = null) — Sort arguments that are used to override the default sort behavior. Separate two or more arguments with the bitwise OR (|) operator.

Returns
* — The return value depends on whether any parameters are passed to this method. For more information, see the Array.sortOn() method. Note that this method returns 0 when the sortOption parameter is set to Array.UNIQUESORT.

See also


Example

The following example sorts a list based on a value in the data provider using the sortItemsOn() method:

import fl.controls.List;
import fl.data.DataProvider;

var players:XML = <players>
        <player name="Player Q" avg="0.237" />
        <player name="Player W" avg="0.352" />
        <player name="Player E" avg="0.268" />
        <player name="Player R" avg="0.311" />
        <player name="Player T" avg="0.293" />
        <player name="Player Y" avg="0.33" />
    </players>;

var dp:DataProvider = new DataProvider(players);

var playerList:List = new List();
playerList.labelFunction = myLabelFunction;
playerList.dataProvider = dp;
playerList.sortItemsOn("avg", Array.NUMERIC | Array.DESCENDING);
playerList.move(10, 10);
playerList.setSize(160, 120);
addChild(playerList);

function myLabelFunction(item:Object):String {
    return item.name + " (" + Number(item.avg).toFixed(3) + ")";
}
Event Detail
change Event
Event Object Type: flash.events.Event
property Event.type = flash.events.Event.CHANGE

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Dispatched when a different item is selected in the list.

The Event.CHANGE constant defines the value of the type property of a change event object.

This event has the following properties:

PropertyValue
bubblestrue
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that has had its value modified. The target is not always the object in the display list that registered the event listener. Use the currentTarget property to access the object in the display list that is currently processing the event.
itemClick Event  
Event Object Type: fl.events.ListEvent
property ListEvent.type = fl.events.ListEvent.ITEM_CLICK

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Dispatched when the user clicks an item in the component.

The click event is dispatched before the value of the component is changed. To identify the row and column that were clicked, use the properties of the event object; do not use the selectedIndex and selectedItem properties.

Defines the value of the type property of an itemClick event object.

This event has the following properties:

PropertyValue
bubblesfalse
cancelabletrue
columnIndexThe zero-based index of the column that contains the renderer.
currentTargetThe object that is actively processing the event object with an event listener.
indexThe zero-based index in the DataProvider that contains the renderer.
itemA reference to the data that belongs to the renderer.
rowIndexThe zero-based index of the row that contains the renderer.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.
itemDoubleClick Event  
Event Object Type: fl.events.ListEvent
property ListEvent.type = fl.events.ListEvent.ITEM_DOUBLE_CLICK

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Dispatched when the user clicks an item in the component twice in rapid succession. Unlike the click event, the doubleClick event is dispatched after the selectedIndex of the component is changed.

Defines the value of the type property of an itemDoubleClick event object.

This event has the following properties:

PropertyValue
bubblesfalse
cancelabletrue
columnIndexThe zero-based index of the column that contains the renderer.
currentTargetThe object that is actively processing the event object with an event listener.
indexThe zero-based index in the DataProvider that contains the renderer.
itemA reference to the data that belongs to the renderer.
rowIndexThe zero-based index of the row that contains the renderer.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.
itemRollOut Event  
Event Object Type: fl.events.ListEvent
property ListEvent.type = fl.events.ListEvent.ITEM_ROLL_OUT

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Dispatched when the user rolls the pointer off of an item in the component.

Defines the value of the type property of an itemRollOut event object.

This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
columnIndexThe zero-based index of the column that contains the renderer.
currentTargetThe object that is actively processing the event object with an event listener.
indexThe zero-based index in the DataProvider that contains the renderer.
itemA reference to the data that belongs to the renderer.
rowIndexThe zero-based index of the row that contains the renderer.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.

See also

itemRollOver Event  
Event Object Type: fl.events.ListEvent
property ListEvent.type = fl.events.ListEvent.ITEM_ROLL_OVER

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Dispatched when the user rolls the pointer over an item in the component.

Defines the value of the type property of an itemRollOver event object.

This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
columnIndexThe zero-based index of the column that contains the renderer.
currentTargetThe object that is actively processing the event object with an event listener.
indexThe zero-based index in the DataProvider that contains the renderer.
itemA reference to the data that belongs to the renderer.
rowIndexThe zero-based index of the row that contains the renderer.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.

See also

rollOut Event  
Event Object Type: flash.events.MouseEvent
property MouseEvent.type = flash.events.MouseEvent.ROLL_OUT

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Dispatched when the user rolls the pointer off of the component.

Defines the value of the type property of a rollOut event object.

This event has the following properties:

PropertyValue
altKeytrue if the Alt key is active (Windows or Linux).
bubblesfalse
buttonDowntrue if the primary mouse button is pressed; false otherwise.
cancelablefalse; there is no default behavior to cancel.
commandKeytrue on the Mac if the Command key is active; false if it is inactive. Always false on Windows.
controlKeytrue if the Ctrl or Control key is active; false if it is inactive.
ctrlKeytrue on Windows or Linux if the Ctrl key is active. true on Mac if either the Ctrl key or the Command key is active. Otherwise, false.
currentTargetThe object that is actively processing the Event object with an event listener.
relatedObjectThe display list object to which the pointing device now points.
localXThe horizontal coordinate at which the event occurred relative to the containing sprite.
localYThe vertical coordinate at which the event occurred relative to the containing sprite.
shiftKeytrue if the Shift key is active; false if it is inactive.
stageXThe horizontal coordinate at which the event occurred in global stage coordinates.
stageYThe vertical coordinate at which the event occurred in global stage coordinates.
targetThe InteractiveObject instance under the pointing device. The target is not always the object in the display list that registered the event listener. Use the currentTarget property to access the object in the display list that is currently processing the event.

See also

rollOver Event  
Event Object Type: flash.events.MouseEvent
property MouseEvent.type = flash.events.MouseEvent.ROLL_OVER

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Dispatched when the user rolls the pointer over the component.

Defines the value of the type property of a rollOver event object.

This event has the following properties:

PropertyValue
altKeytrue if the Alt key is active (Windows or Linux).
bubblesfalse
buttonDowntrue if the primary mouse button is pressed; false otherwise.
cancelablefalse; there is no default behavior to cancel.
commandKeytrue on the Mac if the Command key is active; false if it is inactive. Always false on Windows.
controlKeytrue if the Ctrl or Control key is active; false if it is inactive.
ctrlKeytrue on Windows or Linux if the Ctrl key is active. true on Mac if either the Ctrl key or the Command key is active. Otherwise, false.
currentTargetThe object that is actively processing the Event object with an event listener.
relatedObjectThe display list object to which the pointing device was pointing.
localXThe horizontal coordinate at which the event occurred relative to the containing sprite.
localYThe vertical coordinate at which the event occurred relative to the containing sprite.
shiftKeytrue if the Shift key is active; false if it is inactive.
stageXThe horizontal coordinate at which the event occurred in global stage coordinates.
stageYThe vertical coordinate at which the event occurred in global stage coordinates.
targetThe InteractiveObject instance under the pointing device. The target is not always the object in the display list that registered the event listener. Use the currentTarget property to access the object in the display list that is currently processing the event.

See also

scroll Event  
Event Object Type: fl.events.ScrollEvent
property ScrollEvent.type = fl.events.ScrollEvent.SCROLL

Language Version: ActionScript 3.0
Product Version: Flash CS3
Runtime Versions: Flash Player 9.0.28.0, AIR 1.0

Dispatched when the user scrolls horizontally or vertically.

Defines the value of the type property of a scroll event object.

This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the event object with an event listener.
delta1; a value that indicates how much scrolling was done.
directionvertical; the direction of the ScrollBar.
position0; the position of the Scrollbar thumb after it was moved.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.




SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList SelectableList
fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList fl.controls.SelectableList