Main Page | Packages | Class Tree | Index | Help

mx.controls.menuclasses

class MenuRow

Object
  |
  +--MovieClip
        |
        +--mx.core.UIObject
              |
              +--mx.core.UIComponent
                    |
                    +--mx.controls.listclasses.SelectableRow
                          |
                          +--mx.controls.menuclasses.MenuRow


class MenuRow
extends SelectableRow



Field Summary


branch: Boolean



icon_branch: MovieClip
declarations


icon_mc: MovieClip



icon_sep: MovieClip



iconID: String



idealWidth: Number



isEnabled: Boolean



lBuffer: Number



rBuffer: Number



selected: Boolean



type: String


Fields inherited from class mx.controls.listclasses.SelectableRow

backGround, bGCol, bGTween, cell, clr, disabledColor, grandOwner, highlight, highlightColor, icon_mc, isChangedToSelected, item, listOwner, LOWEST_DEPTH, normalColor, owner, rowIndex, state

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

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


MenuRow ( )


Method Summary


getIdealWidth ( Void ): Number
return the ideal width for this row item


itemToString ( itmObj : Object ): String
parses the item to return a display string


setValue ( itemObj: Object, sel: String )
assemble assets - super will handle text color and background enabling


size ( Void ): Void
set the properties of the row assets

Methods inherited from class mx.controls.listclasses.SelectableRow

bGOnDragOut, bGOnDragOver, bGOnPress, bGOnRelease, bGOnRollOut, bGOnRollOver, createChildren, drawRow, drawRowFill, getCellIndex, getDataLabel, getNormalColor, init, invalidateStyle, itemToString, onTweenEnd, onTweenUpdate, setCellRenderer, setState, setupBG, setValue, size

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

branch

var branch: Boolean

icon_branch

var icon_branch: MovieClip
declarations

icon_mc

var icon_mc: MovieClip

icon_sep

var icon_sep: MovieClip

iconID

var iconID: String

idealWidth

var idealWidth: Number

isEnabled

var isEnabled: Boolean

lBuffer

var lBuffer: Number

rBuffer

var rBuffer: Number

selected

var selected: Boolean

type

var type: String

Constructor Documentation

MenuRow

function MenuRow()

Method Documentation

getIdealWidth

function getIdealWidth(Void): Number
return the ideal width for this row item

itemToString

function itemToString(itmObj : Object): String
parses the item to return a display string

Overrides:

setValue

function setValue(itemObj: Object,
 sel: String)
assemble assets - super will handle text color and background enabling

Overrides:

size

function size(Void): Void
set the properties of the row assets

Overrides:


The documentation was generated from the following file:


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