ScrollView

Kind of class:class
Inherits from:View < UIComponent < UIObject < MovieClip
Known subclasses:
Classpath:mx.core.ScrollView
File last modified:Tuesday, 18 December 2007, 15:44:38
Component metadata:
    Event
    "scroll"

    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

    ScrollView

    function ScrollView (
    )

    Class properties

    symbolName

    static symbolName:String = "ScrollView"
    (read)

    symbolOwner

    static symbolOwner:Object = ScrollView
    (read)

    version

    static version:String = "2.0.2.127"
    (read)

    Instance properties

    __hPosition

    __hPosition:Number = 0
    (read)

    __hScrollPolicy

    __hScrollPolicy:String = "off"
    (read)

    __maxHPosition

    __maxHPosition:Number
    (read)

    __viewMetrics

    __viewMetrics:Object
    (read)

    __vPosition

    __vPosition:Number = 0
    (read)

    __vScrollPolicy

    __vScrollPolicy:String = "auto"
    (read)

    className

    className:String = "ScrollView"
    (read)

    name of this class

    columnWidth

    columnWidth:Number = 1
    (read)

    heightPadding

    heightPadding:Number = 0
    (read)

    hPosition

    hPosition:Number
    (read,write)

    hScroller

    hScroller:ScrollBar
    (read)

    hScrollPolicy

    hScrollPolicy:String
    (read,write)

    invLayout

    invLayout:Boolean
    (read)

    MASK_DEPTH

    MASK_DEPTH:Number = 10000
    (read)

    mask_mc

    mask_mc:MovieClip
    (read)

    maxHPosition

    maxHPosition:Number
    (read,write)

    maxVPosition

    maxVPosition:Number
    (read)

    numberOfCols

    numberOfCols:Number = 0
    (read)

    oldRndUp

    oldRndUp:Number
    (read)

    owner

    owner:MovieClip
    (read)

    propsInited

    propsInited:Boolean
    (read)

    rowC

    rowC:Number = 0
    (read)

    rowH

    rowH:Number = 0
    (read)

    scrollAreaChanged

    scrollAreaChanged:Boolean
    (read)

    specialHScrollCase

    specialHScrollCase:Boolean
    (read)

    viewableColumns

    viewableColumns:Number
    (read)

    viewableRows

    viewableRows:Number
    (read)

    vPosition

    vPosition:Number
    (read,write)

    vScroller

    vScroller:ScrollBar
    (read)

    vScrollPolicy

    vScrollPolicy:String
    (read)

    vScrollPolicy

    vScrollPolicy
    (write)

    widthPadding

    widthPadding:Number = 0
    (read)

    Instance methods

    __onMouseWheel

    function __onMouseWheel (
    delta:Number, scrollTarget:MovieClip) : Void

    childLoaded

    function childLoaded (
    obj:MovieClip) : Void

    Parameters:
    obj:
    the loaded child
    Overrides:

    createChild

    function createChild (
    id, name:String, props:Object) : MovieClip

    See also:

    createChildren

    function createChildren (
    Void) : Void

    doLayout

    function doLayout (
    Void) : Void

    draw

    function draw (
    Void) : Void

    Overrides:

    getHPosition

    function getHPosition (
    Void) : Number

    getHScrollPolicy

    function getHScrollPolicy (
    Void)

    getMaxHPosition

    function getMaxHPosition (
    Void) : Number

    getViewMetrics

    function getViewMetrics (
    Void) : Object

    get the thickness of the edges of the object taking into account the border and scrollbars if visible
    Returns:
    • object with left, right, top and bottom edge thickness in pixels

    getVPosition

    function getVPosition (
    Void) : Number

    getVScrollPolicy

    function getVScrollPolicy (
    Void)

    init

    function init (
    Void) : Void

    Overrides:

    invalidate

    function invalidate (
    Void) : Void

    mark component so it will get drawn later
    #

    scrollProxy

    function scrollProxy (
    docObj:Object) : Void

    setEnabled

    function setEnabled (
    v:Boolean) : Void

    setHPosition

    function setHPosition (
    pos:Number) : Void

    setHScrollPolicy

    function setHScrollPolicy (
    policy) : Void

    setMaxHPosition

    function setMaxHPosition (
    pos:Number) : Void

    setScrollProperties

    function setScrollProperties (
    colCount:Number, colWidth:Number, rwCount:Number, rwHeight:Number, hPadding:Number, wPadding:Number) : Void

    set the parameters for scrolling
    Parameters:
    colCount:
    number of units to scroll horizontally
    colWidth:
    width in pixels of each of those units
    rwCount :
    number of untis to scroll vertically
    rwHeight:
    height in pixels of each of those units
    hPadding:
    pixels on the left edge that are not scrolled (for row headers)
    wpadding:
    pixels on the top edge that are not scrolled (for column headers)

    setVPosition

    function setVPosition (
    pos:Number) : Void

    setVScrollPolicy

    function setVScrollPolicy (
    policy) : Void

    size

    function size (
    Void) : Void

    Overrides:

    Event handlers

    onScroll

    function onScroll (
    docObj:Object) : Void