ScrollBar

Kind of class:class
Inherits from:UIComponent < UIObject < MovieClip
Known subclasses:
Classpath:mx.controls.scrollClasses.ScrollBar
File last modified:Tuesday, 18 December 2007, 15:44:38
a window with a title bar, caption and optional close button
The title bar can be used to drag the window to a new location.

Summary


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

Constructor

ScrollBar

function ScrollBar (
)

Class properties

mergedClipParameters

static mergedClipParameters:Boolean = UIObject.mergeClipParameters(ScrollBar.prototype.clipParameters, UIComponent.prototype.clipParameters)
(read)

skinIDDownArrow

static skinIDDownArrow:Number = 4
(read)

skinIDThumb

static skinIDThumb:Number = 5
(read)

skinIDTrack

static skinIDTrack:Number = 0
(read)

skinIDTrackDown

static skinIDTrackDown:Number = 2
(read)

skinIDTrackOver

static skinIDTrackOver:Number = 1
(read)

skinIDUpArrow

static skinIDUpArrow:Number = 3
(read)

symbolName

static symbolName:String = "ScrollBar"
(read)

symbolOwner

static symbolOwner:Object = ScrollBar
(read)

symbolOwner

static symbolOwner:Object = mx.core.UIComponent
(read)

Instance properties

_scrollPosition

_scrollPosition:Number = 0
(read)

boundingBox_mc

boundingBox_mc:MovieClip
(read)

className

className:String = "ScrollBar"
(read)

name of this class

downArrow_mc

downArrow_mc:SimpleButton
(read)

downArrowDownName

downArrowDownName:String = "ScrollDownArrowDown"
(read)

symbol name of skin element for the down state of the downArrow button

downArrowName

downArrowName:String = "BtnDownArrow"
(read)

symbol name of skin element for the disabled state of the downArrow button

downArrowOverName

downArrowOverName:String = "ScrollDownArrowOver"
(read)

symbol name of skin element for the over state of the downArrow button

downArrowUpName

downArrowUpName:String = "ScrollDownArrowUp"
(read)

symbol name of skin element for the up state of the downArrow button

idNames

idNames:Array = new Array("scrollTrack_mc", "scrollTrackOver_mc", "scrollTrackDown_mc", "upArrow_mc", "downArrow_mc")
(read)

initializing

initializing:Boolean = true
(read)

isScrolling

isScrolling:Boolean
(read)

largeScroll

largeScroll:Number = 0
(read)

lineScrollSize

lineScrollSize
(read,write)

the amount to move when an arrow button is pressed

maxMode

maxMode:String
(read)

maxPos

maxPos:Number = 0
(read)

minMode

minMode:String
(read)

minPos

minPos:Number = 0
(read)

minusMode

minusMode:String
(read)

pageScrollSize

pageScrollSize:Number
(read,write)

the amount to move when the track is pressed

pageSize

pageSize:Number = 0
(read)

plusMode

plusMode:String
(read)

scrollHandler

scrollHandler:Function
(read)

scrolling

scrolling
(read)

scrollPosition

scrollPosition:Number
(read,write)

the current scroll position

scrollThumb_mc

scrollThumb_mc:ScrollThumb
(read)

scrollTrack_mc

scrollTrack_mc:SkinElement
(read)

scrollTrackDownName

scrollTrackDownName:String = ""
(read)

symbol name of skin element for the scroll track when pressed

scrollTrackName

scrollTrackName:String = "ScrollTrack"
(read)

symbol name of skin element for the scroll track

scrollTrackOverName

scrollTrackOverName:String = ""
(read)

symbol name of skin element for the scroll track when mouse is over it

smallScroll

smallScroll:Number = 1
(read)

thumbBottomName

thumbBottomName:String = "ScrollThumbBottomUp"
(read)

symbol name of skin element for the bottom cap of the thumb in the up state

thumbGripName

thumbGripName:String = "ScrollThumbGripUp"
(read)

symbol name of skin element for the grip of the thumb in the up state

thumbMiddleName

thumbMiddleName:String = "ScrollThumbMiddleUp"
(read)

symbol name of skin element for the moddle piece of the thumb in the up state

thumbTopName

thumbTopName:String = "ScrollThumbTopUp"
(read)

symbol name of skin element for the top cap of the thumb in the up state

upArrow_mc

upArrow_mc:SimpleButton
(read)

upArrowDownName

upArrowDownName:String = "ScrollUpArrowDown"
(read)

symbol name of skin element for the down state of the upArrow button

upArrowName

upArrowName:String = "BtnUpArrow"
(read)

symbol name of skin element for the disabled state of the upArrow button

upArrowOverName

upArrowOverName:String = "ScrollUpArrowOver"
(read)

symbol name of skin element for the over state of the upArrow button

upArrowUpName

upArrowUpName:String = "ScrollUpArrowUp"
(read)

symbol name of skin element for the up state of the upArrow button

virtualHeight

virtualHeight:Number
(read)

Instance methods

createThumb

function createThumb (
Void) : Void

dispatchScrollChangedEvent

function dispatchScrollChangedEvent (
Void) : Void

dispatchScrollEvent

function dispatchScrollEvent (
detail:String) : Void

draw

function draw (
Void) : Void

init

function init (
Void) : Void

isScrollBarKey

function isScrollBarKey (
k:Number) : Boolean

releaseScrolling

function releaseScrolling (
Void) : Void

scrollInterval

function scrollInterval (
inc:String, mode:Number) : Void

scrollIt

function scrollIt (
inc:String, mode:Number) : Void

setEnabled

function setEnabled (
enabledFlag:Boolean) : Void

setScrollProperties

function setScrollProperties (
pSize:Number, mnPos:Number, mxPos:Number, ls:Number) : Void

resizes the thumb, enables/disables arrows if there is stuff to scroll

size

function size (
Void) : Void

startTrackScroller

function startTrackScroller (
Void) : Void

stopScrolling

function stopScrolling (
Void) : Void

trackOut

function trackOut (
Void) : Void

trackOver

function trackOver (
Void) : Void

trackScroller

function trackScroller (
Void) : Void

Event handlers

onDownArrow

function onDownArrow (
Void) : Void

onScrollChanged

function onScrollChanged (
Void) : Void

onUpArrow

function onUpArrow (
Void) : Void