Class mx.controls.ComboBox

MovieClip
   +--mx.core.UIObject
      +--mx.core.UIComponent
         +--mx.controls.ComboBase
            +--mx.controls.ComboBox

Description

ComboBox class - extends ComboBase - uses Popup class - adds a listbox inside a popup, and a mask

Field Index

__dropdown, __dropdownWidth, __labelField, __labelFunction, __labels, __rowCount, __selectedIndexOnDropdown, _inherited_value, _showingDropdown, addItemAt, bInKeyDown, className, clipParameters, data, dataProvider, dispatchValueChangedEvent, dropdown, dropdownBorderStyle, dropdownWidth, initializing, isPressed, labelField, labelFunction, labels, length, mask, mergedClipParameters, owner, rowCount, selectedIndex, selectedItem, selectedLabel, symbolName, symbolOwner
Inherited from ComboBase
__border, __dataProvider, _editable, addItem, addItemAt, border_mc, boundingBox_mc, calcPreferredHeightFromData, calcPreferredWidthFromData, clearSelected, dataProvider, downArrow_mc, downArrowDisabledName, downArrowDownName, downArrowOverName, downArrowUpName, DSgetValue, editable, getDataProvider, getItemAt, getLength, getSelectedIndex, getSelectedIndices, getSelectedItem, getSelectedItems, getValue, isSelected, length, mixIt1, modelChanged, multipleSelection, oldOnKillFocus, oldOnSetFocus, onDownArrow, removeAll, removeItemAt, replaceItemAt, restrict, selected, selectedIndex, selectedIndices, selectedItem, selectedItems, selectItem, setDataProvider, setSelectedIndex, setSelectedIndices, setSelectedItem, sortItems, sortItemsBy, symbolName, symbolOwner, tabIndex, text, text_mc, textField, trackAsMenuWas, value, wrapDownArrowButton
Inherited from UIComponent
clipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, height, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, width
Inherited from UIObject
__height, __onUnload, __width, _color, _endInit, _id, _maxHeight, _maxWidth, _minHeight, _minWidth, _preferredHeight, _preferredWidth, _tf, _topmost, addEventListener, bottom, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createClassChildAtDepth, createEvent, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, height, idNames, ignoreClassStyleDeclaration, initProperties, invalidateFlag, left, lineColor, lineWidth, marginLeft, marginRight, methodTable, minHeight, minWidth, notifyStyleChangeInChildren, removeEventListener, right, scaleX, scaleY, setStyle, stylecache, styleName, symbolName, symbolOwner, tabEnabled, textAlign, textColorList, textDecoration, textIndent, tfList, top, validateNow, visible, width, x, y
Inherited from 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

Method Index

new ComboBox()

_changeHandler(), _itemRollOutHandler(), _itemRollOverHandler(), _resizeHandler(), _scrollHandler(), changeColorStyleInChildren(), changeTextStyleInChildren(), close(), createChildren(), dispatchChangeEvent(), displayDropdown(), getDropdown(), getLabelField(), getLabelFunction(), hasDropdown(), init(), invalidateStyle(), keyDown(), modelChanged(), notifyStyleChangeInChildren(), onDownArrow(), onKillFocus(), onUnload(), open(), setDataProvider(), setDropdownWidth(), setEditable(), setLabelField(), setRowCount(), setSelectedIndex(), setSelectedItem(), setSize(), tweenEndHide(), tweenEndShow()
Inherited from ComboBase
_enterHandler(), _getValue(), draw(), layoutChildren(), onSetFocus(), setEnabled(), setFocus(), setText(), setTheme(), size()
Inherited from UIComponent
dispatchValueChangedEvent(), enabledChanged(), findFocusFromObject(), findFocusInChildren(), getFocus(), getFocusManager(), isParent(), pressFocus(), releaseFocus(), setVisible()
Inherited from UIObject
__getTextFormat(), _createChildren(), _getTextFormat(), cancelAllDoLaters(), constructObject(), createClassObject(), createEmptyObject(), createLabel(), createObject(), createSkin(), destroyObject(), doLater(), doLaterDispatcher(), drawRect(), getClassStyleDeclaration(), getMinHeight(), getMinWidth(), getSkinIDName(), getStyle(), getStyleName(), initFromClipParameters(), invalidate(), mergeClipParameters(), move(), redraw(), setColor(), setMinHeight(), setMinWidth(), setSkin()
Inherited from 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(), onLoad(), onMouseDown(), onMouseMove(), onMouseUp(), onPress(), onRelease(), onReleaseOutside(), onRollOut(), onRollOver(), play(), prevFrame(), removeMovieClip(), setMask(), startDrag(), stop(), stopDrag(), swapDepths(), unloadMovie(), valueOf()

Constructor Detail

ComboBox

function ComboBox()

Field Detail

symbolName

static symbolName:String

symbolOwner

static symbolOwner:Object

clipParameters

clipParameters:Object

mergedClipParameters

static mergedClipParameters:Boolean

className

className:String

__labels

__labels:Array

data

data:Array

_showingDropdown

_showingDropdown:Boolean

__rowCount

__rowCount:Number

__dropdownWidth

__dropdownWidth:Number

__dropdown

__dropdown:MovieClip

mask

mask:MovieClip

dropdownBorderStyle

dropdownBorderStyle:String

initializing

initializing

__labelField

__labelField:String

__labelFunction

__labelFunction:Function

__selectedIndexOnDropdown

__selectedIndexOnDropdown:Number

dispatchValueChangedEvent

dispatchValueChangedEvent:Function

addItemAt

addItemAt:Function

dataProvider

dataProvider:Array

length

length:Number

selectedItem

selectedItem:Object

selectedIndex

selectedIndex:Number

_inherited_value

_inherited_value:String

isPressed

isPressed:Boolean

owner

owner:Object

bInKeyDown

bInKeyDown:Boolean

labels

labels:Array

labelField

labelField:String

labelFunction

labelFunction:Function

rowCount

rowCount:Number

dropdownWidth

dropdownWidth:Number

dropdown

dropdown:Object [Read Only]

selectedLabel

selectedLabel:String [Read Only]

Method Detail

init

function init():Void

createChildren

function createChildren():Void

onKillFocus

function onKillFocus(n):Void

getDropdown

function getDropdown():
Object

setSize

function setSize(w:
Number, h:Number, noEvent):Void

setEditable

function setEditable(e:
Boolean):Void

getLabelField

function getLabelField():
String

setLabelField

function setLabelField(s:
String):Void

getLabelFunction

function getLabelFunction():
Function

setSelectedItem

function setSelectedItem(v):Void

setSelectedIndex

function setSelectedIndex(v:
Number):Void

setRowCount

function setRowCount(count:
Number):Void

setDropdownWidth

function setDropdownWidth(w:
Number):Void

setDataProvider

function setDataProvider(dp:
Array)

open

function open():Void

close

function close():Void

hasDropdown

function hasDropdown():
Boolean

tweenEndShow

function tweenEndShow(value:
Number):Void

tweenEndHide

function tweenEndHide(value:
Number):Void

displayDropdown

function displayDropdown(show:
Boolean):Void

onDownArrow

function onDownArrow():Void

keyDown

function keyDown(e:
Object):Void

invalidateStyle

function invalidateStyle(styleProp:
String):Void

changeTextStyleInChildren

function changeTextStyleInChildren(styleProp:
String):Void

changeColorStyleInChildren

function changeColorStyleInChildren(sheetName:
String, styleProp:String, newValue):Void

notifyStyleChangeInChildren

function notifyStyleChangeInChildren(sheetName:
String, styleProp:String, newValue):Void

onUnload

function onUnload():Void

_resizeHandler

function _resizeHandler():Void

_changeHandler

function _changeHandler(obj):Void

_scrollHandler

function _scrollHandler(obj):Void

_itemRollOverHandler

function _itemRollOverHandler(obj):Void

_itemRollOutHandler

function _itemRollOutHandler(obj):Void

modelChanged

function modelChanged(eventObj:
Object):Void

dispatchChangeEvent

function dispatchChangeEvent(obj, prevValue, newValue)