Accordion

Kind of class:class
Inherits from:View < UIComponent < UIObject < MovieClip
Classpath:mx.containers.Accordion
File last modified:Tuesday, 18 December 2007, 15:44:37

Summary


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

Constructor

Accordion

function Accordion (
)

Class properties

symbolName

static symbolName:String = "Accordion"
(read)

symbolOwner

static symbolOwner:Object = Accordion
(read)

version

static version:String = "2.0.2.127"
(read)

Instance properties

__bDrawFocus

private __bDrawFocus:Boolean = false
(read)

__focusedIndex

private __focusedIndex:Number = 0
(read)

__selectedIndex

private __selectedIndex:Number = undefined
(read)

childIcons

childIcons:Array
(read)

Component metadata:
    Inspectable

    childLabels

    childLabels:Array
    (read)

    Component metadata:
      Inspectable

      childNames

      childNames:Array
      (read)

      Component metadata:
        Inspectable

        childSymbols

        childSymbols:Array
        (read)

        Component metadata:
          Inspectable

          className

          className:String = "Accordion"
          (read)

          falseDisabledSkin

          falseDisabledSkin:String
          (read)

          falseDownSkin

          falseDownSkin:String
          (read)

          falseOverSkin

          falseOverSkin:String
          (read)

          falseUpSkin

          falseUpSkin:String
          (read)

          headerClass

          private headerClass:Function = AccordionHeader
          (read)

          kBaseHeaderDepth

          private kBaseHeaderDepth:Number = 1000
          (read)

          kBaseMaskDepth

          private kBaseMaskDepth:Number = 2000
          (read)

          kHeaderNameBase

          private kHeaderNameBase:String = "_header"
          (read)

          kMaskNameBase

          private kMaskNameBase:String = "_mask"
          (read)

          selectedChild

          selectedChild:MovieClip
          (read,write)

          selectedIndex

          selectedIndex:Number
          (read,write)

          Component metadata:
            Bindable
            ChangeEvent
            "change"

            trueDisabledSkin

            trueDisabledSkin:String
            (read)

            trueDownSkin

            trueDownSkin:String
            (read)

            trueOverSkin

            trueOverSkin:String
            (read)

            trueUpSkin

            trueUpSkin:String
            (read)

            tween

            private tween:Tween
            (read)

            tweenBorderMetrics

            private tweenBorderMetrics:Object
            (read)

            tweenContentHeight

            private tweenContentHeight:Number
            (read)

            tweenContentWidth

            private tweenContentWidth:Number
            (read)

            tweenMargins

            private tweenMargins:Object
            (read)

            tweenNewSelectedIndex

            private tweenNewSelectedIndex:Number
            (read)

            tweenOldSelectedIndex

            private tweenOldSelectedIndex:Number
            (read)

            Instance methods

            calcContentHeight

            function calcContentHeight (
            ) : Number

            calcContentWidth

            function calcContentWidth (
            ) : Number

            createChild

            function createChild (
            symbolName, instanceName:String, props:Object) : MovieClip

            Create a new child segment in the accordion.
            Override View to create header

            createChildren

            function createChildren (
            ) : Void

            createHeaderAndMask

            function createHeaderAndMask (
            content_mc:Object, i:Number) : Void

            createSegment

            function createSegment (
            symbolName, instanceName:String, labelStr:String, iconStr:String) : MovieClip

            Create a new segment in the accordion.
            Wrapper for createChild.

            destroyChildAt

            function destroyChildAt (
            index:Number) : Void

            Remove a segment from the accordion.
            Override View to destroy the header and mask and to call invalidate

            dispatchChangeEvent

            function dispatchChangeEvent (
            prevValue:Number, newValue:Number) : Void

            doLayout

            function doLayout (
            ) : Void

            Layout the accordion contents

            drawFocus

            function drawFocus (
            isFocused:Boolean) : Void

            drawHeaderFocus

            function drawHeaderFocus (
            headerIndex:Number, isFocused:Boolean) : Void

            getHeaderAt

            function getHeaderAt (
            idx:Number) : UIComponent

            getSelectedChild

            function getSelectedChild (
            ) : MovieClip

            getSelectedIndex

            function getSelectedIndex (
            ) : Number

            headerPress

            function headerPress (
            header:SimpleButton) : Void

            init

            function init (
            )

            initLayout

            function initLayout (
            ) : Void

            keyDownHandler

            function keyDownHandler (
            evt:Object) : Void

            setSelectedChild

            function setSelectedChild (
            v:MovieClip) : Void

            setSelectedIndex

            function setSelectedIndex (
            v:Number) : Void

            startTween

            function startTween (
            oldSelectedIndex:Number, newSelectedIndex:Number) : Void

            Event handlers

            onKillFocus

            function onKillFocus (
            ) : Void

            onSetFocus

            function onSetFocus (
            ) : Void

            onTweenEnd

            function onTweenEnd (
            value:Number) : Void

            onTweenUpdate

            function onTweenUpdate (
            value:Number) : Void