Main Page | Packages | Class Tree | Index | Help

mx.controls

class UIScrollBar

Object
  |
  +--MovieClip
        |
        +--mx.core.UIObject
              |
              +--mx.core.UIComponent
                    |
                    +--mx.controls.scrollClasses.ScrollBar
                          |
                          +--mx.controls.UIScrollBar


class UIScrollBar
extends ScrollBar



Field Summary


className: String



clipParameters: Object


static
mergedClipParameters: Boolean



onChanged



onScroller


static
symbolName: String


static
symbolOwner: Object



textField: TextField



tField



tField



tField



tField


static
version: String
Copyright (C) 2003 Macromedia, Inc.

Fields inherited from class mx.controls.scrollClasses.ScrollBar

_scrollPosition, boundingBox_mc, className, clipParameters, downArrow_mc, downArrowDownName, downArrowName, downArrowOverName, downArrowUpName, idNames, initializing, isScrolling, largeScroll, maxMode, maxPos, mergedClipParameters, minMode, minPos, minusMode, pageSize, plusMode, scrollHandler, scrolling, scrollThumb_mc, scrollTrack_mc, scrollTrackDownName, scrollTrackName, scrollTrackOverName, skinIDDownArrow, skinIDThumb, skinIDTrack, skinIDTrackDown, skinIDTrackOver, skinIDUpArrow, smallScroll, symbolOwner, thumbBottomName, thumbGripName, thumbMiddleName, thumbTopName, upArrow_mc, upArrowDownName, upArrowName, upArrowOverName, upArrowUpName

Fields inherited from class mx.core.UIComponent

clipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, version

Fields inherited from class mx.core.UIObject

__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version

Fields inherited from class MovieClip

_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursor

Fields inherited from class Object

__proto__, constructor, prototype

Property Summary


_targetInstanceName: TextField (read)



_targetInstanceName: MovieClip (write)



height (read-only)
height of object


horizontal: Boolean (read, write)



width (read-only)
width of object

Properties inherited from class mx.controls.scrollClasses.ScrollBar

lineScrollSize, pageScrollSize, scrollPosition, virtualHeight

Properties inherited from class mx.core.UIComponent

height, width

Properties inherited from class mx.core.UIObject

bottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y

Constructor


UIScrollBar ( )


Method Summary


callback ( prop: String, oldval: String, newval: String ): String



dispatchScrollEvent ( detail: String ): Void



draw ( )
** 14) create a draw method.


init ( Void ): Void



onTextChanged ( Void ): Void



scrollHandler ( Void ): Void
see mx.events.EventDispatcher


setEnabled ( enable: Boolean ): Void
turn off buttons, or turn on buttons and resync thumb


setScrollTarget ( tF: TextField ): Void



setSize ( w, h )
size the object


size ( Void ): Void


Methods inherited from class mx.controls.scrollClasses.ScrollBar

createButton, createChildren, createThumb, dispatchScrollChangedEvent, dispatchScrollEvent, draw, init, isScrollBarKey, onDownArrow, onScrollChanged, onUpArrow, releaseScrolling, scrollInterval, scrollIt, setEnabled, setScrollProperties, size, startTrackScroller, stopScrolling, trackOut, trackOver, trackScroller

Methods inherited from class mx.core.UIComponent

dispatchValueChangedEvent, enabledChanged, findFocusFromObject, findFocusInChildren, getFocus, getFocusManager, init, isParent, onKillFocus, onSetFocus, pressFocus, releaseFocus, setEnabled, setFocus, setVisible, size

Methods inherited from class mx.core.UIObject

__getTextFormat, _createChildren, _getTextFormat, cancelAllDoLaters, constructObject, createChildren, createClassObject, createEmptyObject, createLabel, createObject, createSkin, destroyObject, doLater, doLaterDispatcher, draw, drawRect, getClassStyleDeclaration, getMinHeight, getMinWidth, getSkinIDName, getStyle, getStyleName, init, initFromClipParameters, invalidate, invalidateStyle, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size

Methods inherited from class MovieClip

attachAudio, attachMovie, beginFill, beginGradientFill, clear, createEmptyMovieClip, createTextField, curveTo, duplicateMovieClip, endFill, getBounds, getBytesLoaded, getBytesTotal, getDepth, getInstanceAtDepth, getNextHighestDepth, getSWFVersion, getTextSnapshot, getURL, globalToLocal, gotoAndPlay, gotoAndStop, hitTest, lineStyle, lineTo, loadMovie, loadVariables, localToGlobal, moveTo, nextFrame, onData, onDragOut, onDragOver, onEnterFrame, onKeyDown, onKeyUp, onKillFocus, onLoad, onMouseDown, onMouseMove, onMouseUp, onPress, onRelease, onReleaseOutside, onRollOut, onRollOver, onSetFocus, onUnload, play, prevFrame, removeMovieClip, setMask, startDrag, stop, stopDrag, swapDepths, unloadMovie, valueOf

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

className

var className: String

clipParameters

var clipParameters: Object

mergedClipParameters

static var mergedClipParameters: Boolean

onChanged

var onChanged

onScroller

var onScroller

symbolName

static var symbolName: String

symbolOwner

static var symbolOwner: Object

textField

var textField: TextField

tField

var tField

tField

var tField

tField

var tField

tField

var tField

version

static var version: String
Copyright (C) 2003 Macromedia, Inc.

All Rights Reserved. The following is Sample Code and is subject to all restrictions on such code as contained in the End User License Agreement accompanying this product.


Property Documentation

_targetInstanceName

_targetInstanceName: TextField (read)

_targetInstanceName

_targetInstanceName: MovieClip (write)

height

height (read-only)
height of object

Overrides:

horizontal

horizontal: Boolean (read, write)

width

width (read-only)
width of object

Overrides:


Constructor Documentation

UIScrollBar

function UIScrollBar()

Method Documentation

callback

function callback(prop: String,
 oldval: String,
 newval: String): String

dispatchScrollEvent

function dispatchScrollEvent(detail: String): Void
Overrides:

draw

function draw()
** 14) create a draw method.

Most of the time, all you'll need to do is force a layout of your objects, and make things visible if it is the first time you are being drawn draw by making everything visible, then laying out

Overrides:

init

function init(Void): Void
Overrides:

onTextChanged

function onTextChanged(Void): Void

scrollHandler

function scrollHandler(Void): Void
see mx.events.EventDispatcher

Overrides:

setEnabled

function setEnabled(enable: Boolean): Void
turn off buttons, or turn on buttons and resync thumb

Overrides:

setScrollTarget

function setScrollTarget(tF: TextField): Void

setSize

function setSize(w,
 h)
size the object

Overrides:

Parameters:
w
width of the object
h
height of the object

size

function size(Void): Void
Overrides:


The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc