ScrollSelectList

Kind of class:class
Inherits from:ScrollView < View < UIComponent < UIObject < MovieClip
Known subclasses:
Classpath:mx.controls.listclasses.ScrollSelectList
File last modified:Tuesday, 18 December 2007, 15:44:37
Component metadata:
    Event
    "change"

    Summary


    Constructor
    Class properties
    Class properties inherited from ScrollView
    Class properties inherited from View
    Class properties inherited from UIObject
    Instance properties
    Class methods
    Class methods inherited from View
    Class methods inherited from UIObject
    Instance methods
    Event handlers
    Event handlers inherited from ScrollView
    Event handlers inherited from UIComponent

    Constructor

    ScrollSelectList

    function ScrollSelectList (
    )

    Class properties

    mixIt1

    static mixIt1:Boolean = DataSelector.Initialize(mx.controls.listclasses.ScrollSelectList)
    (read)

    mixIt2

    static mixIt2:Boolean = DataProvider.Initialize(Array)
    (read)

    Instance properties

    __cellRenderer

    __cellRenderer
    (read)

    __dataProvider

    __dataProvider:Object
    (read)

    __hPosition

    __hPosition:Number = 0
    (read)

    __iconField

    __iconField:String
    (read)

    __iconFunction

    __iconFunction:Function
    (read)

    __labelField

    __labelField:String = "label"
    (read)

    __labelFunction

    __labelFunction:Function
    (read)

    __rowCount

    __rowCount:Number = 0
    (read)

    __rowHeight

    __rowHeight:Number = 22
    (read)

    __rowRenderer

    __rowRenderer:String = "SelectableRow"
    (read)

    __width

    __width:Number
    (read)

    addItem

    addItem:Function
    (read)

    Parameters:
    label:
    the label of the new item
    data :
    the data for the new item
    Returns:
    • the added item

    addItemAt

    addItemAt:Function
    (read)

    Parameters:
    index:
    the index at which to add the item
    label:
    the label of the new item
    data :
    the data for the new item
    Returns:
    • the added item

    baseRowZ

    baseRowZ:Number
    (read)

    calcPreferredWidth

    calcPreferredWidth:Function
    (read)

    cellRenderer

    cellRenderer
    (read,write)

    changeFlag

    changeFlag:Boolean
    (read)

    className

    className:String = "ScrollSelectList"
    (read)

    clearSelected

    clearSelected:Function
    (read)

    clears all selections, redraws list

    CONTENTDEPTH

    CONTENTDEPTH:Number = 100
    (read)

    createLabel

    createLabel:Function
    (read)

    dataProvider

    dataProvider:Object
    (read)

    dragEnabled

    dragEnabled:Boolean = false
    (read)

    dragScrolling

    dragScrolling
    (read)

    dropEnabled

    dropEnabled:Boolean = false
    (read)

    enabled

    enabled:Boolean
    (read)

    getDataProvider

    getDataProvider:Function
    (read)

    getItemAt

    getItemAt:Function
    (read)

    Parameters:
    index:
    the index of the items to return
    Returns:
    • the item

    getLength

    getLength:Function
    (read)

    getSelectedIndex

    getSelectedIndex:Function
    (read)

    getSelectedIndices

    getSelectedIndices:Function
    (read)

    getSelectedItem

    getSelectedItem:Function
    (read)

    getSelectedItems

    getSelectedItems:Function
    (read)

    getValue

    getValue:Function
    (read)

    iconField

    iconField:Void
    (write)

    iconField

    iconField:String
    (read)

    iconFunction

    iconFunction:Void
    (write)

    iconFunction

    iconFunction:Function
    (read)

    invLayoutContent

    invLayoutContent:Boolean
    (read)

    invRowHeight

    invRowHeight:Boolean
    (read)

    invUpdateControl

    invUpdateControl:Boolean
    (read)

    isPressed

    isPressed:Boolean
    (read)

    isRowStyle

    isRowStyle:Object = { styleName:true, backgroundColor:true, selectionColor:true, rollOverColor:true, selectionDisabledColor:true,
    (read)

    isSelected

    isSelected:Function
    (read)

    returns true or false, depending on selection

    labelField

    labelField:Void
    (write)

    labelField

    labelField:String
    (read)

    labelFunction

    labelFunction:Void
    (write)

    labelFunction

    labelFunction:Function
    (read)

    lastPosition

    lastPosition:Number
    (read)

    lastSelected

    lastSelected:Number
    (read)

    lastSelID

    lastSelID:Number
    (read)

    layoutX

    layoutX:Number
    (read)

    layoutY

    layoutY:Number
    (read)

    length

    length:Number
    (read)

    listContent

    listContent:MovieClip
    (read)

    minScrollInterval

    minScrollInterval = 30
    (read)

    modelChanged

    modelChanged:Function
    (read)

    catches model changed events from the dataProvider

    multipleSelection

    multipleSelection:Boolean = false
    (read)

    Component metadata:
      Inspectable
      defaultValue:
      false

      propertyTable

      propertyTable:Object
      (read)

      removeAll

      removeAll:Function
      (read)

      removeItemAt

      removeItemAt:Function
      (read)

      Parameters:
      index:
      the index of the item to remove
      Returns:
      • the removed item

      replaceItemAt

      replaceItemAt:Function
      (read)

      Parameters:
      index:
      the index of the item to replace
      label:
      the label for the replacing item
      data :
      the data for the replacing item

      roundUp

      roundUp = 0
      (read)

      rowCount

      rowCount:Number
      (read)

      rowCount

      rowCount:Void
      (write)

      rowHeight

      rowHeight:Number
      (read)

      Component metadata:
        Inspectable
        defaultValue:
        20

        rowHeight

        rowHeight:Void
        (write)

        rows

        rows:Array
        (read)

        scrollInterval

        scrollInterval:Number
        (read)

        selectable

        selectable:Boolean = true
        (read)

        selected

        selected:Object
        (read)

        selectedIndex

        selectedIndex:Number
        (read)

        selectedIndices

        selectedIndices:Array
        (read)

        selectedItem

        selectedItem
        (read)

        selectedItems

        selectedItems:Array
        (read)

        selectHolder

        selectHolder:Number
        (read)

        selectionDeleted

        selectionDeleted:Boolean
        (read)

        selectItem

        selectItem:Function
        (read)

        bookkeeps the selection of one item

        setDataProvider

        setDataProvider:Function
        (read)

        setSelectedIndex

        setSelectedIndex:Function
        (read)

        setSelectedIndices

        setSelectedIndices:Function
        (read)

        sortItems

        sortItems:Function
        (read)

        Parameters:
        compareFunc:
        a function to use for comparison

        sortItemsBy

        sortItemsBy:Function
        (read)

        Parameters:
        fieldName:
        the field to sort on
        order :
        either "ASC" or "DESC"

        tempLabel

        tempLabel:Object
        (read)

        tH

        tH:Number
        (read)

        topRowZ

        topRowZ:Number
        (read)

        tW

        tW:Number
        (read)

        value

        value:Object
        (read)

        wasKeySelected

        wasKeySelected:Boolean
        (read)

        Instance methods

        __onMouseUp

        function __onMouseUp (
        Void) : Void

        createChildren

        function createChildren (
        Void) : Void

        dragScroll

        function dragScroll (
        Void) : Void

        draw

        function draw (
        Void) : Void

        findInputText

        function findInputText (
        Void) : Boolean

        findString

        function findString (
        str:String) : Void

        getPropertiesAt

        function getPropertiesAt (
        index:Number) : Object

        getPropertiesOf

        function getPropertiesOf (
        obj:Object) : Object

        getRowCount

        function getRowCount (
        Void) : Number

        getRowHeight

        function getRowHeight (
        Void) : Number

        getStateAt

        function getStateAt (
        index:Number) : String

        getStyle

        function getStyle (
        styleProp:String)

        get a style property
        #
        Returns:
        • Variant the style value
          #

        init

        function init (
        Void) : Void

        invalidateStyle

        function invalidateStyle (
        propName:String) : Void

        keyDown

        function keyDown (
        e:Object) : Void

        layoutContent

        function layoutContent (
        x:Number, y:Number, w:Number, h:Number) : Void

        moveSelBy

        function moveSelBy (
        incr:Number) : Void

        selectRow

        function selectRow (
        rowIndex:Number, transition:Boolean, allowChangeEvent:Boolean) : Void

        setCellRenderer

        function setCellRenderer (
        cR) : Void

        setEnabled

        function setEnabled (
        v:Boolean) : Void

        setIconField

        function setIconField (
        field:String) : Void

        setIconFunction

        function setIconFunction (
        func:Function) : Void

        setLabelField

        function setLabelField (
        field:String) : Void

        setLabelFunction

        function setLabelFunction (
        func:Function) : Void

        setPropertiesAt

        function setPropertiesAt (
        index:Number, obj:Object) : Void

        Parameters:
        index:
        the index of the item to modify
        obj :
        the property values of the item

        setRowCount

        function setRowCount (
        v:Number) : Void

        setRowHeight

        function setRowHeight (
        v:Number) : Void

        setVPosition

        function setVPosition (
        pos:Number) : Void

        updateControl

        function updateControl (
        Void) : Void

        refresh all rows (use sparingly!)

        Event handlers

        onMouseUp

        onMouseUp:Function
        (read)

        onRowDragOut

        function onRowDragOut (
        rowIndex:Number) : Void

        onRowDragOver

        function onRowDragOver (
        rowIndex:Number) : Void

        onRowPress

        function onRowPress (
        rowIndex:Number) : Void

        onRowRelease

        function onRowRelease (
        rowIndex:Number) : Void

        onRowRollOut

        function onRowRollOut (
        rowIndex:Number) : Void

        onRowRollOver

        function onRowRollOver (
        rowIndex:Number) : Void