Packagecom.flextras.autoCompleteComboBox
Classpublic class AutoCompleteComboBox
InheritanceAutoCompleteComboBox Inheritance ComboBox Inheritance ComboBase Inheritance UIComponent Inheritance FlexSprite Inheritance flash.display.Sprite

The Flextras AutoCompleteComboBox is an advanced ComboBox, providing AutoComplete functionality, type-ahead functionality, label truncation, a selectedValue option, and an automatic width resize to content. It is designed to provide some functionality lacking in the standard Flex ComboBox, most prominently autocomplete or autosuggest functionality. This is complete list of what it offers:

See also

mx.controls.ComboBox
com.flextras.autoCompleteComboBox.AutoCompleteCollectionEvent
com.flextras.autoCompleteComboBox.AutoCompleteComboBoxEvent
com.flextras.autoCompleteComboBox.AutoCompleteComboBoxResizeEvent
com.flextras.autoCompleteComboBox.AutoCompleteListData
com.flextras.autoCompleteComboBox.TypeAheadTimerEvent


Public Properties
 PropertyDefined by
 InheritedactiveEffects : Array
The list of effects that are currently playing on the component, as an Array of EffectInstance instances.
UIComponent
  autoCompleteCursorLocationOnSelect : Boolean
This property specifies where the cursor position will end up after an item is selected.
AutoCompleteComboBox
  autoCompleteEnabled : Boolean
This property enables the AutoComplete functionality.
AutoCompleteComboBox
  autoCompleteFilterFunction : Function
This property defines the filter function used to filter the dataProvider for AutoComplete purposes.
AutoCompleteComboBox
  autoCompleteHighlightOnFocus : Boolean
Use this property if you want to select all characters in the autoCompleteTextInput when it gains focus.
AutoCompleteComboBox
  autoCompleteRemoteData : Boolean
Use this property if you are populating the dataProvider from a remote data source and want to change the dataProvider with each character the user types.
AutoCompleteComboBox
  autoCompleteResetIndex : int
This property allows you to specify a default selectedIndex when the dataProvider is set or reset.
AutoCompleteComboBox
  autoCompleteSelectOnEnter : Boolean
Use this property if you want to select the first item in the AutoComplete's filtered drop down list when the user presses the enter key.
AutoCompleteComboBox
  autoCompleteSelectOnEnterIfEmpty : Boolean
If set to true, the top item in the drop down will be selected when the user presses enter without having entered any text.
AutoCompleteComboBox
  autoCompleteSelectOnEqual : Boolean
Use this property if you want to select an item in the AutoComplete's filtered drop down list if that item is equal to the text you typed.
AutoCompleteComboBox
  autoCompleteSelectOnEqualCaseSensitivity : Boolean
This controls the case sensitivity of the autoCompleteSelectOnEqual comparison.
AutoCompleteComboBox
  autoCompleteSelectOnOne : Boolean
Use this property if you want to select an item in the AutoComplete's filtered drop down list if there is only a single item remaining.
AutoCompleteComboBox
 InheritedautomationDelegate : Object
The delegate object that handles the automation-related functionality.
UIComponent
 InheritedautomationName : String
Name that can be used as an identifier for this object.
UIComponent
 InheritedautomationTabularData : Object
An implementation of the IAutomationTabularData interface, which can be used to retrieve the data.
UIComponent
 InheritedautomationValue : Array
This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.
UIComponent
 InheritedbaselinePosition : Number
The y-coordinate of the baseline of the first line of text of the component.
UIComponent
 InheritedcacheHeuristic : Boolean
Used by Flex to suggest bitmap caching for the object.
UIComponent
 InheritedcachePolicy : String
Specifies the bitmap caching policy for this object.
UIComponent
 InheritedclassName : String
The name of this instance's class, such as "Button".
UIComponent
 InheritedcontentMouseX : Number
Returns the x position of the mouse, in the content coordinate system.
UIComponent
 InheritedcontentMouseY : Number
Returns the y position of the mouse, in the content coordinate system.
UIComponent
 InheritedcurrentState : String
The current view state of the component.
UIComponent
 InheritedcursorManager : ICursorManager
Gets the CursorManager that controls the cursor for this component and its peers.
UIComponent
 Inheriteddata : Object
The data property lets you pass a value to the component when you use it in an item renderer or item editor.
ComboBox
  dataProvider : Object
The set of items this component displays.
AutoCompleteComboBox
 Inheriteddescriptor : UIComponentDescriptor
Reference to the UIComponentDescriptor, if any, that was used by the createComponentFromDescriptor() method to create this UIComponent instance.
UIComponent
 Inheriteddocument : Object
A reference to the document object associated with this UIComponent.
UIComponent
 InheriteddoubleClickEnabled : Boolean
Specifies whether the UIComponent object receives doubleClick events.
UIComponent
  downArrowVisible : Boolean
This property will control the visibility of the down arrow.
AutoCompleteComboBox
  dropdown : ListBase
[read-only] A reference to the List control that acts as the drop-down in the ComboBox.
AutoCompleteComboBox
 InheriteddropdownFactory : IFactory
The IFactory that creates a ListBase-derived instance to use as the drop-down.
ComboBox
 InheriteddropdownWidth : Number
Width of the drop-down list, in pixels.
ComboBox
 Inheritededitable : Boolean
A flag that indicates whether the control is editable, which lets the user directly type entries that are not specified in the dataProvider, or not editable, which requires the user select from the items in the dataProvider.
ComboBase
 Inheritedenabled : Boolean
Whether the component can accept user interaction.
UIComponent
 InheritederrorString : String
The text that will be displayed by a component's error tip when a component is monitored by a Validator and validation fails.
UIComponent
  expandDropDownToContent : Boolean
This property specifies whether or not the drop down list will expand its’ width to make sure that none of it’s content will be truncated.
AutoCompleteComboBox
 InheritedexplicitHeight : Number
Number that specifies the explicit height of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedexplicitMaxHeight : Number
The maximum recommended height of the component to be considered by the parent during layout.
UIComponent
 InheritedexplicitMaxWidth : Number
The maximum recommended width of the component to be considered by the parent during layout.
UIComponent
 InheritedexplicitMinHeight : Number
The minimum recommended height of the component to be considered by the parent during layout.
UIComponent
 InheritedexplicitMinWidth : Number
The minimum recommended width of the component to be considered by the parent during layout.
UIComponent
 InheritedexplicitWidth : Number
Number that specifies the explicit width of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedflexContextMenu : IFlexContextMenu
The context menu for this UIComponent.
UIComponent
 InheritedfocusEnabled : Boolean
Indicates whether the component can receive focus when tabbed to.
UIComponent
 InheritedfocusManager : IFocusManager
Gets the FocusManager that controls focus for this component and its peers.
UIComponent
 InheritedfocusPane : Sprite
The focus pane associated with this object.
UIComponent
 Inheritedheight : Number
Number that specifies the height of the component, in pixels, in the parent's coordinates.
UIComponent
 Inheritedid : String
ID of the component.
UIComponent
 InheritedimeMode : String
Specifies the IME (input method editor) mode.
ComboBase
 InheritedincludeInLayout : Boolean
Specifies whether this component is included in the layout of the parent container.
UIComponent
 InheritedinheritingStyles : Object
The beginning of this component's chain of inheriting styles.
UIComponent
 Inheritedinitialized : Boolean
A flag that determines if an object has been through all three phases of layout: commitment, measurement, and layout (provided that any were required).
UIComponent
 InheritedinstanceIndex : int
The index of a repeated component.
UIComponent
 InheritedinstanceIndices : Array
An Array containing the indices required to reference this UIComponent object from its parent document.
UIComponent
 InheritedisDocument : Boolean
Determines whether this UIComponent instance is a document object, that is, whether it is at the top of the hierarchy of a Flex application, MXML component, or ActionScript component.
UIComponent
 InheritedisPopUp : Boolean
Set to true by the PopUpManager to indicate that component has been popped up.
UIComponent
 InheriteditemRenderer : IFactory
IFactory that generates the instances that displays the data for the drop-down list of the control.
ComboBox
 InheritedlabelField : String
Name of the field in the items in the dataProvider Array to display as the label in the TextInput portion and drop-down list.
ComboBox
 InheritedlabelFunction : Function
User-supplied function to run on each item to determine its label.
ComboBox
 InheritedlistData : BaseListData
When a component is used as a drop-in item renderer or drop-in item editor, Flex initializes the listData property of the component with the appropriate data from the List control.
ComboBox
 InheritedmaxHeight : Number
The maximum recommended height of the component to be considered by the parent during layout.
UIComponent
 InheritedmaxWidth : Number
The maximum recommended width of the component to be considered by the parent during layout.
UIComponent
 InheritedmeasuredHeight : Number
The default height of the component, in pixels.
UIComponent
 InheritedmeasuredMinHeight : Number
The default minimum height of the component, in pixels.
UIComponent
 InheritedmeasuredMinWidth : Number
The default minimum width of the component, in pixels.
UIComponent
 InheritedmeasuredWidth : Number
The default width of the component, in pixels.
UIComponent
 InheritedminHeight : Number
The minimum recommended height of the component to be considered by the parent during layout.
UIComponent
 InheritedminWidth : Number
The minimum recommended width of the component to be considered by the parent during layout.
UIComponent
 InheritedmoduleFactory : IFlexModuleFactory
The moduleFactory that is used to create TextFields in the correct SWF context.
UIComponent
 InheritedmouseFocusEnabled : Boolean
Whether you can receive focus when clicked on.
UIComponent
 InheritednestLevel : int
Depth of this object in the containment hierarchy.
UIComponent
 InheritednonInheritingStyles : Object
The beginning of this component's chain of non-inheriting styles.
UIComponent
 InheritednumAutomationChildren : int
The number of automation children this container has.
UIComponent
 Inheritedowner : DisplayObjectContainer
The owner of this UIComponent.
UIComponent
 Inheritedparent : DisplayObjectContainer
The parent container or component for this component.
UIComponent
 InheritedparentApplication : Object
A reference to the Application object that contains this UIComponent instance.
UIComponent
 InheritedparentDocument : Object
A reference to the parent document object for this UIComponent.
UIComponent
 InheritedpercentHeight : Number
Number that specifies the height of a component as a percentage of its parent's size.
UIComponent
 InheritedpercentWidth : Number
Number that specifies the width of a component as a percentage of its parent's size.
UIComponent
 InheritedprocessedDescriptors : Boolean
Set to true after immediate or deferred child creation, depending on which one happens.
UIComponent
 Inheritedprompt : String
The prompt for the ComboBox control.
ComboBox
 Inheritedrepeater : IRepeater
A reference to the Repeater object in the parent document that produced this UIComponent.
UIComponent
 InheritedrepeaterIndex : int
The index of the item in the data provider of the Repeater that produced this UIComponent.
UIComponent
 InheritedrepeaterIndices : Array
An Array containing the indices of the items in the data provider of the Repeaters in the parent document that produced this UIComponent.
UIComponent
 Inheritedrepeaters : Array
An Array containing references to the Repeater objects in the parent document that produced this UIComponent.
UIComponent
 Inheritedrestrict : String
Set of characters that a user can or cannot enter into the text field.
ComboBase
  rowCount : int
Maximum number of rows visible in the ComboBox control list.
AutoCompleteComboBox
 InheritedscaleX : Number
Number that specifies the horizontal scaling factor.
UIComponent
 InheritedscaleY : Number
Number that specifies the vertical scaling factor.
UIComponent
 Inheritedscreen : Rectangle
Returns an object that contains the size and position of the base drawing surface for this object.
UIComponent
  selectedIndex : int
The index in the data provider of the selected item.
AutoCompleteComboBox
 InheritedselectedItem : Object
Contains a reference to the selected item in the dataProvider.
ComboBox
 InheritedselectedLabel : String
The String displayed in the TextInput portion of the ComboBox.
ComboBox
  selectedValue : String
In HTML select boxes, you have a display piece, or label, and the value, or data.
AutoCompleteComboBox
 InheritedshowInAutomationHierarchy : Boolean
A flag that determines if an automation object shows in the automation hierarchy.
UIComponent
 Inheritedstates : Array
The view states that are defined for this component.
UIComponent
 InheritedstyleDeclaration : CSSStyleDeclaration
Storage for the inline inheriting styles on this object.
UIComponent
 InheritedstyleName : Object
The class style used by this component.
UIComponent
 InheritedsystemManager : ISystemManager
Returns the SystemManager object used by this component.
UIComponent
  text : String
This property keeps track of the characters in the the AutoComplete input.
AutoCompleteComboBox
  toolTip : String
If you explicitly set a tooltop then it will not be reset when truncateToFit is on and the item is truncated Text to display in the ToolTip.
AutoCompleteComboBox
 Inheritedtransitions : Array
An Array of Transition objects, where each Transition object defines a set of effects to play when a view state change occurs.
UIComponent
  truncateToFit : Boolean
If the truncateToFit property is true, and the ComboBox control size is smaller than the text it needs to display, the text of the Label control is truncated using the text specified by truncationIndicator.
AutoCompleteComboBox
  truncationIndicator : String
When the display text is too long for the space it can be showed in, this is the text used to truncate in display piece is too long for the space, it will be truncated, and the truncationIndicator text appended to the end.
AutoCompleteComboBox
 InheritedtweeningProperties : Array
Array of properties that are currently being tweened on this object.
UIComponent
  typeAheadEnabled : Boolean
This property specifies whether the user can type-ahead with multiple characters.
AutoCompleteComboBox
  typeAheadResetDelay : int
This property specifies the number of milliseconds before the type-ahead text is reset to an empty string.
AutoCompleteComboBox
  typeAheadTextValue : String
Exposes the type ahead text value that is used in both both typeAhead and AutoComplete functionality.
AutoCompleteComboBox
 Inheriteduid : String
A unique identifier for the object.
UIComponent
 InheritedupdateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases of layout validation (provided that any were required).
UIComponent
 InheritedvalidationSubField : String
Used by a validator to associate a subfield with this component.
UIComponent
 Inheritedvalue : Object
The value of the selected item.
ComboBase
  valueField : String
This property contains the name of the data in the items in the dataProvider Array that will be used for setting or getting the selectedValue.
AutoCompleteComboBox
  valueFunction : Function
This property represents a user-supplied function to run on each item to determine its value, or data.
AutoCompleteComboBox
 Inheritedvisible : Boolean
Controls the visibility of this UIComponent.
UIComponent
  width : Number
Number that specifies the width of the component, in pixels, in the parent's coordinates.
AutoCompleteComboBox
 Inheritedx : Number
Number that specifies the component's horizontal position, in pixels, within its parent container.
UIComponent
 Inheritedy : Number
Number that specifies the component's vertical position, in pixels, within its parent container.
UIComponent
Protected Properties
 PropertyDefined by
 InheritedarrowButtonStyleFilters : Object
Set of styles to pass from the ComboBase to the down arrow button
ComboBase
 InheritedborderMetrics : EdgeMetrics
Returns an EdgeMetrics object that has four properties: left, top, right, and bottom.
ComboBase
 Inheritedcollection : ICollectionView
The ICollectionView of items this component displays.
ComboBase
 InheriteddropDownStyleFilters : Object
The set of styles to pass from the ComboBox to the dropDown.
ComboBox
 Inheritediterator : IViewCursor
The main IViewCursor used to fetch items from the dataProvider and pass the items to the renderers.
ComboBase
 InheritedtextInput : TextInput
The internal TextInput subcomponent that displays the current selection.
ComboBase
 InheritedtextInputStyleFilters : Object
The set of styles to pass from the ComboBase to the text input.
ComboBase
  typeAheadText : String
This property keeps track of the characters that the user typed.
AutoCompleteComboBox
 InheritedunscaledHeight : Number
A convenience method for determining the unscaled height of the component.
UIComponent
 InheritedunscaledWidth : Number
A convenience method for determining the unscaled width of the component All of a component's drawing and child layout should be done within a bounding rectangle of this width, which is also passed as an argument to updateDisplayList().
UIComponent
Public Methods
 MethodDefined by
  
Constructor.
AutoCompleteComboBox
  
autoCompleteSetTypeAheadText(value:String = ""):void
This method lets you reset the AutoComplete Type Ahead Text.
AutoCompleteComboBox
 Inherited
callLater(method:Function, args:Array = null):void
Queues a function to be called later.
UIComponent
 Inherited
clearStyle(styleProp:String):void
Deletes a style property from this component instance.
UIComponent
  
close(trigger:Event = null):void
Hides the drop-down list.
AutoCompleteComboBox
 Inherited
contentToGlobal(point:Point):Point
Converts a Point object from content coordinates to global coordinates.
UIComponent
 Inherited
contentToLocal(point:Point):Point
Converts a Point object from content to local coordinates.
UIComponent
 Inherited
Returns a set of properties that identify the child within this container.
UIComponent
 Inherited
Creates an id reference to this IUIComponent object on its parent document object.
UIComponent
 Inherited
Deletes the id reference to this IUIComponent object on its parent document object.
UIComponent
 Inherited
Returns a UITextFormat object corresponding to the text styles for this UIComponent.
UIComponent
 Inherited
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
UIComponent
 Inherited
drawFocus(isFocused:Boolean):void
Shows or hides the focus indicator around this component.
UIComponent
 Inherited
drawRoundRect(x:Number, y:Number, w:Number, h:Number, r:Object = null, c:Object = null, alpha:Object = null, rot:Object = null, gradient:String = null, ratios:Array = null, hole:Object = null):void
Programatically draws a rectangle into this skin's Graphics object.
UIComponent
 Inherited
Called by the effect instance when it stops playing on the component.
UIComponent
 Inherited
effectStarted(effectInst:IEffectInstance):void
Called by the effect instance when it starts playing on the component.
UIComponent
 Inherited
Ends all currently playing effects on the component.
UIComponent
 Inherited
executeBindings(recurse:Boolean = false):void
Executes the data bindings into this UIComponent object.
UIComponent
 Inherited
finishPrint(obj:Object, target:IFlexDisplayObject):void
Called after printing is complete.
UIComponent
 Inherited
Provides the automation object at the specified index.
UIComponent
 Inherited
Finds the type selectors for this UIComponent instance.
UIComponent
 Inherited
getConstraintValue(constraintName:String):*
Returns a layout constraint value, which is the same as getting the constraint style for this component.
UIComponent
 Inherited
A convenience method for determining whether to use the explicit or measured height
UIComponent
 Inherited
A convenience method for determining whether to use the explicit or measured width
UIComponent
 Inherited
getFocus():InteractiveObject
Gets the object that currently has focus.
UIComponent
 Inherited
getRepeaterItem(whichRepeater:int = -1):Object
Returns the item in the dataProvider that was used by the specified Repeater to produce this Repeater, or null if this Repeater isn't repeated.
UIComponent
 Inherited
getStyle(styleProp:String):*
Gets a style property that has been set anywhere in this component's style lookup chain.
UIComponent
 Inherited
globalToContent(point:Point):Point
Converts a Point object from global to content coordinates.
UIComponent
 Inherited
horizontalGradientMatrix(x:Number, y:Number, width:Number, height:Number):Matrix
Returns a box Matrix which can be passed to the drawRoundRect() method as the rot parameter when drawing a horizontal gradient.
UIComponent
 Inherited
initialize():void
Initializes the internal structure of this component.
UIComponent
 Inherited
Initializes various properties which keep track of repeated instances of this component.
UIComponent
 Inherited
Marks a component so that its updateDisplayList() method gets called during a later screen update.
UIComponent
 Inherited
Marks a component so that its commitProperties() method gets called during a later screen update.
UIComponent
 Inherited
Marks a component so that its measure() method gets called during a later screen update.
UIComponent
  
itemToData(item:Object):String
Returns a string representing the data parameter, Modeled, conceptually, after itemToLabel
AutoCompleteComboBox
 Inherited
itemToLabel(item:Object, ... rest):String
Returns a string representing the item parameter.
ComboBox
 Inherited
localToContent(point:Point):Point
Converts a Point object from local to content coordinates.
UIComponent
 Inherited
measureHTMLText(htmlText:String):TextLineMetrics
Measures the specified HTML text, which may contain HTML tags such as <font> and <b>, assuming that it is displayed in a single-line UITextField using a UITextFormat determined by the styles of this UIComponent.
UIComponent
 Inherited
measureText(text:String):TextLineMetrics
Measures the specified text, assuming that it is displayed in a single-line UITextField using a UITextFormat determined by the styles of this UIComponent.
UIComponent
 Inherited
move(x:Number, y:Number):void
Moves the component to a specified position within its parent.
UIComponent
 Inherited
notifyStyleChangeInChildren(styleProp:String, recursive:Boolean):void
Propagates style changes to the children.
UIComponent
  
open():void
Displays the drop-down list.
AutoCompleteComboBox
 Inherited
owns(child:DisplayObject):Boolean
Returns true if the chain of owner properties points from child to this UIComponent.
UIComponent
 Inherited
parentChanged(p:DisplayObjectContainer):void
Called by Flex when a UIComponent object is added to or removed from a parent.
UIComponent
 Inherited
Prepares an IFlexDisplayObject for printing.
UIComponent
 Inherited
regenerateStyleCache(recursive:Boolean):void
Builds or rebuilds the CSS style cache for this component and, if the recursive parameter is true, for all descendants of this component as well.
UIComponent
 Inherited
registerEffects(effects:Array):void
For each effect event, registers the EffectManager as one of the event listeners.
UIComponent
 Inherited
replayAutomatableEvent(event:Event):Boolean
Replays the specified event.
UIComponent
 Inherited
resolveAutomationIDPart(criteria:Object):Array
Resolves a child by using the id provided.
UIComponent
 Inherited
[static] Resumes the background processing of methods queued by callLater(), after a call to suspendBackgroundProcessing().
UIComponent
 Inherited
setActualSize(w:Number, h:Number):void
Sizes the object.
UIComponent
 Inherited
setConstraintValue(constraintName:String, value:*):void
Sets a layout constraint value, which is the same as setting the constraint style for this component.
UIComponent
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
Set the current state.
UIComponent
 Inherited
setFocus():void
Sets the focus to this component.
UIComponent
 Inherited
setStyle(styleProp:String, newValue:*):void
Sets a style property on this component instance.
UIComponent
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
Called when the visible property changes.
UIComponent
 Inherited
styleChanged(styleProp:String):void
Detects changes to style properties.
UIComponent
 Inherited
Flex calls the stylesInitialized() method when the styles for a component are first initialized.
UIComponent
 Inherited
[static] Blocks the background processing of methods queued by callLater(), until resumeBackgroundProcessing() is called.
UIComponent
 Inherited
toString():String
Returns a string indicating the location of this object within the hierarchy of DisplayObjects in the Application.
FlexSprite
 Inherited
Validates the position and size of children and draws other visuals.
UIComponent
 Inherited
validateNow():void
Validate and update the properties and layout of this object and redraw it, if necessary.
UIComponent
 Inherited
Used by layout logic to validate the properties of a component by calling the commitProperties() method.
UIComponent
 Inherited
validateSize(recursive:Boolean = false):void
Validates the measured size of the component If the LayoutManager.invalidateSize() method is called with this ILayoutManagerClient, then the validateSize() method is called when it's time to do measurements.
UIComponent
 Inherited
Handles both the valid and invalid events from a validator assigned to this component.
UIComponent
 Inherited
verticalGradientMatrix(x:Number, y:Number, width:Number, height:Number):Matrix
Returns a box Matrix which can be passed to drawRoundRect() as the rot parameter when drawing a vertical gradient.
UIComponent
Protected Methods
 MethodDefined by
 Inherited
adjustFocusRect(obj:DisplayObject = null):void
Adjust the focus rectangle.
UIComponent
 Inherited
This is an internal method used by the Flex framework to support the Dissolve effect.
UIComponent
  
autoCompleteFilter(item:Object):Boolean
This is the default filter function for AutoComplete functionality.
AutoCompleteComboBox
 Inherited
Determines default values of the height and width to use for each entry in the drop-down list, based on the maximum size of the label text in the first numItems items in the data provider.
ComboBox
 Inherited
Performs any final processing after child objects are created.
UIComponent
 Inherited
collectionChangeHandler(event:Event):void
Responds to changes to the data provider.
ComboBase
 Inherited
Processes the properties set on the component.
UIComponent
 Inherited
Create child objects of the component.
UIComponent
 Inherited
createInFontContext(classObj:Class):Object
Creates a new object using a context based on the embedded font being used.
UIComponent
 Inherited
createInModuleContext(moduleFactory:IFlexModuleFactory, className:String):Object
Creates the object using a given moduleFactory.
UIComponent
 Inherited
Performs some action when the drop-down button is pressed.
ComboBase
 Inherited
focusInHandler(event:FocusEvent):void
The event handler called when a UIComponent object gets focus.
UIComponent
 Inherited
focusOutHandler(event:FocusEvent):void
The event handler called when a UIComponent object loses focus.
UIComponent
 Inherited
Finalizes the initialization of this component.
UIComponent
 Inherited
Initializes this component's accessibility code.
UIComponent
 Inherited
isOurFocus(target:DisplayObject):Boolean
Typically overridden by components containing UITextField objects, where the UITextField object gets focus.
UIComponent
 Inherited
itemToUID(data:Object):String
Determines the UID for a dataProvider item.
ComboBase
 Inherited
keyDownHandler(event:KeyboardEvent):void
The event handler called for a keyDown event.
UIComponent
 Inherited
keyUpHandler(event:KeyboardEvent):void
The event handler called for a keyUp event.
UIComponent
 Inherited
measure():void
Makes sure the control is at least 40 pixels wide, and tall enough to fit one line of text in the TextInput portion of the control but at least 22 pixels high.
ComboBox
 Inherited
This method is called when a UIComponent is constructed, and again whenever the ResourceManager dispatches a "change" Event to indicate that the localized resources have changed in some way.
UIComponent
 Inherited
textInput_changeHandler(event:Event):void
Handles changes to the TextInput that serves as the editable text field in the component.
ComboBase
  
truncateLabel():Boolean
This method truncates text to make it fit horizontally in the area defined for the control, and append the trunctationIndicator to the text.
AutoCompleteComboBox
 Inherited
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Sizes and positions the internal components in the given width and height.
ComboBase
Events
 EventSummaryDefined by
 Inherited
add
Dispatched when the component is added to a container as a content child by using the addChild() or addChildAt() method.UIComponent
   This event is dispatched before the dataProvider is filtered for AutoComplete Purposes.AutoCompleteComboBox
   This event is dispatched after the dataProvider is filtered for AutoComplete Purposes.AutoCompleteComboBox
 Inherited Dispatched when the ComboBox contents changes as a result of user interaction, when the selectedIndex or selectedItem property changes, and, if the ComboBox control is editable, each time a keystroke is entered in the box.ComboBox
 Inherited Dispatched when the drop-down list is dismissed for any reason such when the user:
  • selects an item in the drop-down list
  • clicks outside of the drop-down list
  • clicks the drop-down button while the drop-down list is displayed
  • presses the ESC key while the drop-down list is displayed
ComboBox
 Inherited Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.UIComponent
 Inherited Dispatched after the view state has changed.UIComponent
 Inherited Dispatched after the currentState property changes, but before the view state changes.UIComponent
 Inherited Dispatched when the data property changes.ComboBox
 Inherited Dispatched by the drag initiator (the component that is the source of the data being dragged) when the drag operation completes, either when you drop the dragged data onto a drop target or when you end the drag-and-drop operation without performing a drop.UIComponent
 Inherited Dispatched by the drop target when the user releases the mouse over it.UIComponent
 Inherited Dispatched by a component when the user moves the mouse over the component during a drag operation.UIComponent
 Inherited Dispatched by the component when the user drags outside the component, but does not drop the data onto the target.UIComponent
 Inherited Dispatched by a component when the user moves the mouse while over the component during a drag operation.UIComponent
 Inherited Dispatched by the drag initiator when starting a drag operation.UIComponent
   This event is dispatched when AutoComplete is enabled and the dataProvider was just filtered, causing a change in the number of dataProvider items, therefore needing an expansion or contraction of the drop down height.AutoCompleteComboBox
   This event is dispatched when expandDropDownToContent is set to true and we're about to expand the width of the drop down.AutoCompleteComboBox
   This event is dispatched when expandDropDownToContent is set to true and we just expanded the width of the drop down.AutoCompleteComboBox
 Inherited Dispatched after an effect ends.UIComponent
 Inherited Dispatched just before an effect starts.UIComponent
 Inherited Dispatched if the editable property is set to true and the user presses the Enter key while typing in the editable text field.ComboBox
 Inherited Dispatched after the component has returned to the root view state.UIComponent
 Inherited Dispatched before the component exits from the root view state.UIComponent
 Inherited Dispatched when an object's state changes from visible to invisible.UIComponent
 Inherited Dispatched when the component has finished its construction and has all initialization properties set.UIComponent
 Inherited Dispatched when a component is monitored by a Validator and the validation failed.UIComponent
 Inherited Dispatched when user rolls the mouse out of a drop-down list item.ComboBox
 Inherited Dispatched when the user rolls the mouse over a drop-down list item.ComboBox
   This event is dispatched when truncateToFit is set to true, but there was enough room to display the selectedLabel without shortening it.AutoCompleteComboBox
   This event is dispatched when the display label was truncated.AutoCompleteComboBox
 Inherited Dispatched from a component opened using the PopUpManager when the user clicks outside it.UIComponent
 Inherited Dispatched from a component opened using the PopUpManager when the user scrolls the mouse wheel outside it.UIComponent
 Inherited Dispatched when the object has moved.UIComponent
 Inherited Dispatched when the user clicks the drop-down button to display the drop-down list.ComboBox
 Inherited Dispatched at the beginning of the component initialization sequence.UIComponent
 Inherited Dispatched when the component is removed from a container as a content child by using the removeChild() or removeChildAt() method.UIComponent
 Inherited Dispatched when the component is resized.UIComponent
 Inherited Dispatched when the user scrolls the ComboBox control's drop-down list.ComboBox
   This event is dispatched when the selectedValue was set, but not found in the dataProvider.AutoCompleteComboBox
 Inherited Dispatched when an object's state changes from invisible to visible.UIComponent
 Inherited Dispatched by the component when it is time to create a ToolTip.UIComponent
 Inherited Dispatched by the component when its ToolTip has been hidden and will be discarded soon.UIComponent
 Inherited Dispatched by the component when its ToolTip is about to be hidden.UIComponent
 Inherited Dispatched by the component when its ToolTip is about to be shown.UIComponent
 Inherited Dispatched by the component when its ToolTip has been shown.UIComponent
 Inherited Dispatched by a component whose toolTip property is set, as soon as the user moves the mouse over it.UIComponent
   This event is dispatched when the type-ahead timer is complete and the typeAheadText is reset.AutoCompleteComboBox
   This event is dispatched when the type-ahead timer is started.AutoCompleteComboBox
   This event is dispatched when the type-ahead timer is stopped without completing.AutoCompleteComboBox
   This event id dispatched when type-ahead text changes.AutoCompleteComboBox
 Inherited Dispatched when an object has had its commitProperties(), measure(), and updateDisplayList() methods called (if needed).UIComponent
 Inherited Dispatched when a component is monitored by a Validator and the validation succeeded.UIComponent
 Inherited Dispatched when values are changed programmatically or by user interaction.UIComponent
Styles
 StyleDescriptionDefined by
 Inherited Type: Array   Format: Color   CSS Inheritance: yes
The set of BackgroundColors for drop-down list rows in an alternating pattern.
ComboBox
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Width of the arrow button in pixels.
ComboBox
  
autoCompleteTextInputStyleName
Type: String   CSS Inheritance: yes
This style is a pass through style for the AutoComplete TextInput The default value is TextInput.
AutoCompleteComboBox
 Inherited Type: String   CSS Inheritance: no
The vertical distance in pixels from the top edge of the content area to the control's baseline position.
UIComponent
 Inherited Type: uint   Format: Color   CSS Inheritance: no
Color of the border.
ComboBox
 Inherited Type: Number   Format: Length   CSS Inheritance: no
The thickness of the border of the drop-down list, in pixels.
ComboBox
 Inherited Type: String   CSS Inheritance: no
The vertical distance in pixels from the lower edge of the component to the lower edge of its content area.
UIComponent
 Inherited Type: Number   Format: Time   CSS Inheritance: no
The length of the transition when the drop-down list closes, in milliseconds.
ComboBox
 Inherited Type: Function   CSS Inheritance: no
An easing function to control the close transition.
ComboBox
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component, including the component label.
ComboBox
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Radius of component corners.
ComboBox
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component if it is disabled.
ComboBox
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
The color for the icon in a disabled skin.
ComboBox
 Inherited Type: Class   CSS Inheritance: no
Name of the class to use as the skin for the background and border when the control is disabled.
ComboBase
 Inherited Type: Class   CSS Inheritance: no
Name of the class to use as the skin for the background and border when the user holds down the mouse button.
ComboBase
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
The color of the border of the ComboBox.
ComboBox
 Inherited Type: String   CSS Inheritance: no
The name of a CSSStyleDeclaration to be used by the drop-down list.
ComboBox
 Inherited Type: String   CSS Inheritance: no
The name of a CSSStyleDeclaration to be used by the drop-down list.
ComboBox
 Inherited Type: Class   CSS Inheritance: no
Name of the class to use as the skin for the background and border when the control is disabled, and the editable property is true.
ComboBase
 Inherited Type: Class   CSS Inheritance: no
Name of the class to use as the skin for the background and border when the user holds down the mouse button, and the editable property is true.
ComboBase
 Inherited Type: Class   CSS Inheritance: no
Name of the class to use as the skin for the background and border when the mouse is over the control, and the editable property is true.
ComboBase
 Inherited Type: Class   CSS Inheritance: no
Name of the class to use as the skin for the background and border when the mouse is not over the control, and the editable property is true.
ComboBase
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of the component highlight when validation fails.
UIComponent
 Inherited Type: Array   CSS Inheritance: no
Alphas used for the background fill of controls.
ComboBox
 Inherited Type: Array   Format: Color   CSS Inheritance: no
Colors used to tint the background of the control.
ComboBox
 Inherited Type: Number   CSS Inheritance: no
Specifies the alpha transparency value of the focus skin.
ComboBox
 Inherited Type: String   CSS Inheritance: no
Blend mode used by the focus rectangle.
UIComponent
 Inherited Type: String   CSS Inheritance: no
Specifies which corners of the focus rectangle should be rounded.
ComboBox
 Inherited Type: Class   CSS Inheritance: no
Skin used to draw the focus rectangle.
UIComponent
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Thickness, in pixels, of the focus rectangle outline.
UIComponent
 Inherited Type: String   CSS Inheritance: yes
Sets the antiAliasType property of internal TextFields.
ComboBox
 Inherited Type: String   CSS Inheritance: yes
Name of the font to use.
ComboBox
 Inherited Type: String   CSS Inheritance: yes
Sets the gridFitType property of internal TextFields that represent text in Flex controls.
ComboBox
 Inherited Type: Number   CSS Inheritance: yes
Sets the sharpness property of internal TextFields that represent text in Flex controls.
ComboBox
 Inherited Type: Number   Format: Length   CSS Inheritance: yes
Height of the text, in pixels.
ComboBox
 Inherited Type: String   CSS Inheritance: yes
Determines whether the text is italic font.
ComboBox
 Inherited Type: Number   CSS Inheritance: yes
Sets the thickness property of internal TextFields that represent text in Flex controls.
ComboBox
 Inherited Type: String   CSS Inheritance: yes
Determines whether the text is boldface.
ComboBox
 Inherited Type: Array   CSS Inheritance: no
Alpha transparencies used for the highlight fill of controls.
ComboBox
 Inherited Type: String   CSS Inheritance: no
The horizontal distance in pixels from the center of the component's content area to the center of the component.
UIComponent
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
The color for the icon in a skin.
ComboBox
 Inherited Type: Boolean   CSS Inheritance: yes
A Boolean value that indicates whether kerning is enabled (true) or disabled (false).
ComboBox
 Inherited Type: Number   Format: Length   CSS Inheritance: yes
Additional vertical space between lines of text.
ComboBox
 Inherited Type: String   CSS Inheritance: no
The horizontal distance in pixels from the left edge of the component's content area to the left edge of the component.
UIComponent
 Inherited Type: Number   CSS Inheritance: yes
The number of additional pixels to appear between each character.
ComboBox
 Inherited Type: Number   Format: Time   CSS Inheritance: no
Length of the transition when the drop-down list opens, in milliseconds.
ComboBox
 Inherited Type: Function   CSS Inheritance: no
An easing function to control the open transition.
ComboBox
 Inherited Type: Class   CSS Inheritance: no
Name of the class to use as the skin for the background and border when the mouse is over the control.
ComboBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the control's bottom border and the bottom of its content area.
ComboBox
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's left border and the left edge of its content area.
ComboBox
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's right border and the right edge of its content area.
ComboBox
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the control's top border and the top of its content area.
ComboBox
 Inherited Type: String   CSS Inheritance: no
The horizontal distance in pixels from the right edge of the component to the right edge of its content area.
UIComponent
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
The rollOverColor of the drop-down list.
ComboBox
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
The selectionColor of the drop-down list.
ComboBox
 Inherited Type: uint   Format: Time   CSS Inheritance: no
The selectionDuration of the drop-down list.
ComboBox
 Inherited Type: Function   CSS Inheritance: no
The selectionEasingFunction of the drop-down list.
ComboBox
 Inherited Type: Class   CSS Inheritance: no
Name of the class to use as the default skin for the background and border.
ComboBase
 Inherited Type: String   CSS Inheritance: yes
Alignment of text within a container.
ComboBox
 Inherited Type: String   CSS Inheritance: yes
Determines whether the text is underlined.
ComboBox
 Inherited Type: Number   Format: Length   CSS Inheritance: yes
Offset of first line of text from the left side of the container, in pixels.
ComboBox
 Inherited Type: String   CSS Inheritance: no
The style declaration for the internal TextInput subcomponent that displays the current selection.
ComboBase
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
The textRollOverColor of the drop-down list.
ComboBox
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
The textSelectedColor of the drop-down list.
ComboBox
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Theme color of a component.
UIComponent
 Inherited
top
Type: String   CSS Inheritance: no
The vertical distance in pixels from the top edge of the control's content area to the top edge of the component.
UIComponent
 Inherited Type: Class   CSS Inheritance: no
Name of the class to use as the skin for the background and border when the mouse is not over the control.
ComboBase
 Inherited Type: String   CSS Inheritance: no
The vertical distance in pixels from the center of the component's content area to the center of the component.
UIComponent
Effects
 EffectDescriptionDefined by
 Inherited Triggering event: added
Played when the component is added as a child to a Container.
UIComponent
 Inherited Triggering event: creationComplete
Played when the component is created.
UIComponent
 Inherited Triggering event: focusIn
Played when the component gains keyboard focus.
UIComponent
 Inherited Triggering event: focusOut
Played when the component loses keyboard focus.
UIComponent
 Inherited Triggering event: hide
Played when the component becomes invisible.
UIComponent
 Inherited Triggering event: mouseDown
Played when the user presses the mouse button while over the component.
UIComponent
 Inherited Triggering event: mouseUp
Played when the user releases the mouse button while over the component.
UIComponent
 Inherited Triggering event: move
Played when the component is moved.
UIComponent
 Inherited Triggering event: removed
Played when the component is removed from a Container.
UIComponent
 Inherited Triggering event: resize
Played when the component is resized.
UIComponent
 Inherited Triggering event: rollOut
Played when the user rolls the mouse so it is no longer over the component.
UIComponent
 Inherited Triggering event: rollOver
Played when the user rolls the mouse over the component.
UIComponent
 Inherited Triggering event: show
Played when the component becomes visible.
UIComponent
Public Constants
 ConstantDefined by
 InheritedDEFAULT_MAX_HEIGHT : Number = 10000
[static] The default value for the maxHeight property.
UIComponent
 InheritedDEFAULT_MAX_WIDTH : Number = 10000
[static] The default value for the maxWidth property.
UIComponent
 InheritedDEFAULT_MEASURED_HEIGHT : Number = 22
[static] The default value for the measuredHeight property.
UIComponent
 InheritedDEFAULT_MEASURED_MIN_HEIGHT : Number = 22
[static] The default value for the measuredMinHeight property.
UIComponent
 InheritedDEFAULT_MEASURED_MIN_WIDTH : Number = 40
[static] The default value for the measuredMinWidth property.
UIComponent
 InheritedDEFAULT_MEASURED_WIDTH : Number = 160
[static] The default value for the measuredWidth property.
UIComponent
Property detail
autoCompleteCursorLocationOnSelectproperty
autoCompleteCursorLocationOnSelect:Boolean  [read-write]

This property specifies where the cursor position will end up after an item is selected. If true, the cursor will be placed at the beginning of the select string. If false, the cursor willb e placed at the end of the select string.

The default value is true.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteCursorLocationOnSelect():Boolean
    public function set autoCompleteCursorLocationOnSelect(value:Boolean):void
autoCompleteEnabledproperty 
autoCompleteEnabled:Boolean  [read-write]

This property enables the AutoComplete functionality. If you set it to true it will filter the list of items based on the user's typed input. It is worth nothing that if this property is set to true, then type-ahead functionality will have no affect. If this property is set to false, no AutoComplete functionality will be available.

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteEnabled():Boolean
    public function set autoCompleteEnabled(value:Boolean):void

See also

autoCompleteFilterFunctionproperty 
autoCompleteFilterFunction:Function  [read-write]

This property defines the filter function used to filter the dataProvider for AutoComplete purposes. The dataProvider is converted to a ListCollectionView internally.

The default value is autoCompleteFilter.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteFilterFunction():Function
    public function set autoCompleteFilterFunction(value:Function):void

See also

autoCompleteHighlightOnFocusproperty 
autoCompleteHighlightOnFocus:Boolean  [read-write]

Use this property if you want to select all characters in the autoCompleteTextInput when it gains focus. If nothing is entered into the input, then nothing will be highlighted. If you are using a prompt and the prompt, then the prompt will be removed when the component gains focus. If nothing is typed or selected, then the prompt will be returned when the component loses focus.

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteHighlightOnFocus():Boolean
    public function set autoCompleteHighlightOnFocus(value:Boolean):void
autoCompleteRemoteDataproperty 
autoCompleteRemoteData:Boolean  [read-write]

Use this property if you are populating the dataProvider from a remote data source and want to change the dataProvider with each character the user types. It will prevent the drop down from being destroyed and recreated each time the dataProvider changes, which causes display oddities.

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteRemoteData():Boolean
    public function set autoCompleteRemoteData(value:Boolean):void
autoCompleteResetIndexproperty 
autoCompleteResetIndex:int  [read-write]

This property allows you to specify a default selectedIndex when the dataProvider is set or reset. When we built this component we made the assumption that the default AutoComplete state would be the unselected state, where selectedIndex = -1, selectedItem = null, and no text is displayed in the AutoComplete input. Just in case you want the AutoComplete to select a default value, this property allows you to do that. Although this is a numerical property, presumably you will only want to set this value to -1 (unselected state) or 0 (first item in dataProvider).

The default value is -1.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteResetIndex():int
    public function set autoCompleteResetIndex(value:int):void
autoCompleteSelectOnEnterproperty 
autoCompleteSelectOnEnter:Boolean  [read-write]

Use this property if you want to select the first item in the AutoComplete's filtered drop down list when the user presses the enter key. If enter is pressed and nothing is selected, the first item in the first will not be selected unless you set the autoCompleteSelectOnEnterIfEmpty to true.

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteSelectOnEnter():Boolean
    public function set autoCompleteSelectOnEnter(value:Boolean):void

See also

autoCompleteSelectOnEnterIfEmptyproperty 
autoCompleteSelectOnEnterIfEmpty:Boolean  [read-write]

If set to true, the top item in the drop down will be selected when the user presses enter without having entered any text. This is used in conjunction with autoCompleteSelectOnEnter and only has an effect if autoCompleteSelectOnEnter is true.

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteSelectOnEnterIfEmpty():Boolean
    public function set autoCompleteSelectOnEnterIfEmpty(value:Boolean):void

See also

autoCompleteSelectOnEqualproperty 
autoCompleteSelectOnEqual:Boolean  [read-write]

Use this property if you want to select an item in the AutoComplete's filtered drop down list if that item is equal to the text you typed. This is a case sensitive comparison by default. If you want to perform case insensitive comparison the autoCompleteSelectOnEqualCaseSensitivity property

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteSelectOnEqual():Boolean
    public function set autoCompleteSelectOnEqual(value:Boolean):void

See also

autoCompleteSelectOnEqualCaseSensitivityproperty 
autoCompleteSelectOnEqualCaseSensitivity:Boolean  [read-write]

This controls the case sensitivity of the autoCompleteSelectOnEqual comparison. If set to true the comparison will be case sensitive. IF set to false the comparison will be case insensitive.

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteSelectOnEqualCaseSensitivity():Boolean
    public function set autoCompleteSelectOnEqualCaseSensitivity(value:Boolean):void

See also

autoCompleteSelectOnOneproperty 
autoCompleteSelectOnOne:Boolean  [read-write]

Use this property if you want to select an item in the AutoComplete's filtered drop down list if there is only a single item remaining.

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get autoCompleteSelectOnOne():Boolean
    public function set autoCompleteSelectOnOne(value:Boolean):void
dataProviderproperty 
dataProvider:Object  [read-write]

The set of items this component displays. This property is of type Object because the derived classes can handle a variety of data types such as Arrays, XML, ICollectionViews, and other classes. All are converted into an ICollectionView and that ICollectionView is returned if you get the value of this property; you will not get the value you set if it was not an ICollectionView.

Setting this property will adjust the selectedIndex property (and therefore the selectedItem property) if the selectedIndex property has not otherwise been set. If there is no prompt property, the selectedIndex property will be set to 0; otherwise it will remain at -1, the index used for the prompt string. If the selectedIndex property has been set and it is out of range of the new data provider, unexpected behavior is likely to occur.

This property can be used as the source for data binding.

Implementation
    public function get dataProvider():Object
    public function set dataProvider(value:Object):void
downArrowVisibleproperty 
downArrowVisible:Boolean  [read-write]

This property will control the visibility of the down arrow. Presumably you'll want to use this in conjunction with AutoComplete to create an AutoCompleteTextInput, as opposed to an AutoCompleteDropDown. Although you can use this if AutoComplete is not enabled, it will most likely cause odd results and we do not recommend it.

The default value is true.

This property can be used as the source for data binding.

Implementation
    public function get downArrowVisible():Boolean
    public function set downArrowVisible(value:Boolean):void
dropdownproperty 
dropdown:ListBase  [read-only]

A reference to the List control that acts as the drop-down in the ComboBox.

Implementation
    public function get dropdown():ListBase
expandDropDownToContentproperty 
expandDropDownToContent:Boolean  [read-write]

This property specifies whether or not the drop down list will expand its’ width to make sure that none of it’s content will be truncated. If the drop down does not need to expand to fit the content, it will set itself to the specified width of the AutoCompleteComboBox. The Drop Down will never be smaller than the width of the AutoCompleteComboBox. Only makes a change if content in the drop down will be truncated due to the width of the AutoCompleteComboBox .

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get expandDropDownToContent():Boolean
    public function set expandDropDownToContent(value:Boolean):void
rowCountproperty 
rowCount:int  [read-write]

Maximum number of rows visible in the ComboBox control list. If there are fewer items in the dataProvider, the ComboBox shows only as many items as there are in the dataProvider.

This property can be used as the source for data binding.

Implementation
    public function get rowCount():int
    public function set rowCount(value:int):void
selectedIndexproperty 
selectedIndex:int  [read-write]

The index in the data provider of the selected item. If there is a prompt property, the selectedIndex value can be set to -1 to show the prompt. If there is no prompt, property then selectedIndex will be set to 0 once a dataProvider is set.

If the ComboBox control is editable, the selectedIndex property is -1 if the user types any text into the text field.

Unlike many other Flex properties that are invalidating (setting them does not have an immediate effect), the selectedIndex and selectedItem properties are synchronous; setting one immediately affects the other.

This property can be used as the source for data binding.

Implementation
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void
selectedValueproperty 
selectedValue:String  [read-write]

In HTML select boxes, you have a display piece, or label, and the value, or data. The Flex ComboBox does not provide an easy way to deal with the value concept of an HTML select. If you want to set the ComboBox to a value you can use selectedIndex to specify the dataProvider index, or selectedItem to specify the full object. But, there is no way to select an item using one piece of behind the scenes data. The selectedValue property is your answer for that. You can use it to drill down to a specific valueField in your dataProvider.

This property can be used as the source for data binding.

Implementation
    public function get selectedValue():String
    public function set selectedValue(value:String):void

See also

textproperty 
text:String  [read-write]

This property keeps track of the characters in the the AutoComplete input. If you want to acces the characters that are being used to filter the AutoComplete list, look at the typeAheadTextValue property. If an item is selected, the autoComplete filter is removed. In that situation, typeAheadTextValue will return an empty string, but text will return the display text for that item. If autoCompleteEnabled is false; then this property will act just like text property on the the ComboBox.

The default value is "".

This property can be used as the source for data binding.

Implementation
    public function get text():String
    public function set text(value:String):void

See also

toolTipproperty 
toolTip:String  [read-write]

If you explicitly set a tooltop then it will not be reset when truncateToFit is on and the item is truncated Text to display in the ToolTip.

This property can be used as the source for data binding.

Implementation
    public function get toolTip():String
    public function set toolTip(value:String):void
truncateToFitproperty 
truncateToFit:Boolean  [read-write]

If the truncateToFit property is true, and the ComboBox control size is smaller than the text it needs to display, the text of the Label control is truncated using the text specified by truncationIndicator. A toolTip is also created with the full text. If this property is false, text that does not fit is clipped.

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get truncateToFit():Boolean
    public function set truncateToFit(value:Boolean):void
truncationIndicatorproperty 
truncationIndicator:String  [read-write]

When the display text is too long for the space it can be showed in, this is the text used to truncate in display piece is too long for the space, it will be truncated, and the truncationIndicator text appended to the end. This property works works in conjunction with truncateToFit.

The default value is '...'.

This property can be used as the source for data binding.

Implementation
    public function get truncationIndicator():String
    public function set truncationIndicator(value:String):void

See also

typeAheadEnabledproperty 
typeAheadEnabled:Boolean  [read-write]

This property specifies whether the user can type-ahead with multiple characters. The default ComboBox only supports type-ahead functionality with a single character. If autoCompleteEnabled is set to true, type-ahead functionality will be ignored. Type-ahead and AutoComplete are mutually exclusive.

The default value is false.

This property can be used as the source for data binding.

Implementation
    public function get typeAheadEnabled():Boolean
    public function set typeAheadEnabled(value:Boolean):void

See also

typeAheadResetDelayproperty 
typeAheadResetDelay:int  [read-write]

This property specifies the number of milliseconds before the type-ahead text is reset to an empty string. It has no effect if typeAheadEnabled is set to false.

The default value is 4000.

This property can be used as the source for data binding.

Implementation
    public function get typeAheadResetDelay():int
    public function set typeAheadResetDelay(value:int):void
typeAheadTextproperty 
typeAheadText:String  [read-write]

This property keeps track of the characters that the user typed. It works with both type-ahead and AutoComplete functionality. If typeAheadEnabled is set to true, then this will be reset on a timer based on the typeAheadResetDelay. If autoCompleteEnabled is true, this will be reset when the user selects an item from the drop down or when the user clears out the text in the AutoComplete input. You can access this value from an itemRenderer using

AutoCompleteListData(this.listData).typeAheadText
, however it will always be an empty string if AutoCompleteEnabled is false. This value is exposed publicly using the typeAheadTextValue property.

The default value is ''.

This property can be used as the source for data binding.

Implementation
    protected function get typeAheadText():String
    protected function set typeAheadText(value:String):void

See also

typeAheadTextValueproperty 
typeAheadTextValue:String  [read-write]

Exposes the type ahead text value that is used in both both typeAhead and AutoComplete functionality. if type ahead functionality is enabled then this will be reset each time the typeAheadResetDelay is counted down If autocompleteEnabled is true, this will not be reset. If you want to reset this value you can use the autoCompleteSetTypeAheadText() method. You can access the type ahead value from an itemRenderer using

  AutoCompleteListData(this.listData).typeAheadText 
     
however it will always be an empty string if AutoComplete is not enabled

The default value is ''.

This property can be used as the source for data binding.

Implementation
    public function get typeAheadTextValue():String
    public function set typeAheadTextValue(value:String):void

See also

valueFieldproperty 
valueField:String  [read-write]

This property contains the name of the data in the items in the dataProvider Array that will be used for setting or getting the selectedValue.

It defaults to data. However, if the dataProvider items do not contain a data property, you can set the valueField property to use a different property.

The default value is data.

This property can be used as the source for data binding.

Implementation
    public function get valueField():String
    public function set valueField(value:String):void

See also

valueFunctionproperty 
valueFunction:Function  [read-write]

This property represents a user-supplied function to run on each item to determine its value, or data. By default the control uses a property named data on each dataProvider item to determine its data. However, some data sets do not have a data property, or do not have another property that can be used for selecting an item.

The valueFunction takes a single argument which is the item in the dataProvider and returns a String:

     myLabelFunction(item:Object):String
     

This property can be used as the source for data binding.

Implementation
    public function get valueFunction():Function
    public function set valueFunction(value:Function):void
widthproperty 
width:Number  [read-write]

Number that specifies the width of the component, in pixels, in the parent's coordinates. The default value is 0, but this property will contain the actual component width after Flex completes sizing the components in your application.

Note: You can specify a percentage value in the MXML width attribute, such as width="100%", but you cannot use a percentage value in the width property in ActionScript. Use the percentWidth property instead.

Setting this property causes a resize event to be dispatched. See the resize event for details on when this event is dispatched. If the component's scaleX property is not 1.0, the width of the component from its internal coordinates will not match. Thus a 100 pixel wide component with a scaleX of 2 will take 100 pixels in the parent, but will internally think it is 50 pixels wide.

This property can be used as the source for data binding.

Implementation
    public function get width():Number
    public function set width(value:Number):void
Constructor detail
AutoCompleteComboBox()constructor
public function AutoCompleteComboBox()

Constructor.

Method detail
autoCompleteFilter()method
protected function autoCompleteFilter(item:Object):Boolean

This is the default filter function for AutoComplete functionality. It uses a regular expression to search through the label text to filter values.

Parameters
item:Object — The item that is going to be investigated for filtering purposes

Returns
Booleantrue if the item meets the filter criteria, false otherwise.

See also

autoCompleteSetTypeAheadText()method 
public function autoCompleteSetTypeAheadText(value:String = ""):void

This method lets you reset the AutoComplete Type Ahead Text. Using this method will cause the AutoComplete dataProvider to perform its filtering again.

Parameters
value:String (default = "") — The value you want to set the TypeAhead to; by default this is blank, or an empty string
close()method 
public override function close(trigger:Event = null):void

Hides the drop-down list.

Parameters
trigger:Event (default = null)
itemToData()method 
public function itemToData(item:Object):String

Returns a string representing the data parameter, Modeled, conceptually, after itemToLabel

Parameters
item:Object — The item we want to pull the data out of .

This method checks in the following order to find a value to return:

  1. If you have specified a valueFunction property, returns the result of passing the item to the function.
  2. If the item is a String, Number, Boolean, or Function, returns the item.
  3. If the item has a property with the name specified by the control's valueField property, returns the contents of the property.
  4. If the item has a data property, returns its value.

Returns
String
open()method 
public override function open():void

Displays the drop-down list.

truncateLabel()method 
protected function truncateLabel():Boolean

This method truncates text to make it fit horizontally in the area defined for the control, and append the trunctationIndicator to the text. By default, the truncationIndicator is an ellipse, three periods (...)

Returns
Booleantrue if the text was truncated, false otherwise.
Event detail
autoCompleteDataProviderFilterBeginevent 
Event object type: com.flextras.autoCompleteComboBox.AutoCompleteCollectionEvent
AutoCompleteCollectionEvent.type property = com.flextras.autoCompleteComboBox.AutoCompleteCollectionEvent.AUTOCOMPLETE_DATAPROVIDER_FILTER_BEGIN

This event is dispatched before the dataProvider is filtered for AutoComplete Purposes. Conceptually this is similar to the ListCollectionView.collectionChange event where kind=refresh. You should listen to this event if for some reason you want to cancel the filter process.

The AutoCompleteCollectionEvent.AUTOCOMPLETE_DATAPROVIDER_FILTER_BEGIN constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox dataProvider is about to be filtered. If the filterFunction is null, that means that the dataProvider will be reset

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelabletrue
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
filterFunctionThe Function that will be used to filter the dataProvider
kindCollectionEventKind.REFRESH
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
typeAutoCompleteCollectionEvent.AUTOCOMPLETE_DATAPROVIDER_FILTER_BEGIN

See also

autoCompleteDataProviderFilteredevent  
Event object type: com.flextras.autoCompleteComboBox.AutoCompleteCollectionEvent
AutoCompleteCollectionEvent.type property = com.flextras.autoCompleteComboBox.AutoCompleteCollectionEvent.AUTOCOMPLETE_DATAPROVIDER_FILTERED

This event is dispatched after the dataProvider is filtered for AutoComplete Purposes. Conceptually this is similar to the ListCollectionView.collectionChange event where kind=refresh. With this event, you know it comes from inside the AutoCompleteComboBox, as opposed to other filtering or sorting mechanisms on your provider. You should listen to autoCompleteDataProviderFilterBegin if for some reason you want to cancel the filter process.

The AutoCompleteCollectionEvent.AUTOCOMPLETE_DATAPROVIDER_FILTER constant defines the value of the type property of the event object for an event that is dispatched when the filtering for the AutoCompleteComboBox dataProvider is complete.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
kindCollectionEventKind.REFRESH
filterFunctionThe function that was used to filter the dataProvider
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
typeAutoCompleteCollectionEvent.AUTOCOMPLETE_DATAPROVIDER_FILTER

See also

dropdownHeightExpandedevent  
Event object type: com.flextras.autoCompleteComboBox.AutoCompleteComboBoxResizeEvent
AutoCompleteComboBoxResizeEvent.type property = com.flextras.autoCompleteComboBox.AutoCompleteComboBoxResizeEvent.DROPDOWN_HEIGHT_EXPANDED

This event is dispatched when AutoComplete is enabled and the dataProvider was just filtered, causing a change in the number of dataProvider items, therefore needing an expansion or contraction of the drop down height.

The AutoCompleteComboBoxEvent.DROPDOWN_HEIGHT_EXPANDED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox autoCompleteEnabled is set to true and we just shrank or expanded the height of the drop down to accommodate filtering, which either removed or added items or added items. Not every filtering action will cause this event to fire.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
currentSizeThe current height of the drop down
newSizeThe new height of the drop down
typeAutoCompleteComboBoxResizeEvent.DROPDOWN_HEIGHT_EXPANDED

See also

dropdownWidthExpandBeginevent  
Event object type: com.flextras.autoCompleteComboBox.AutoCompleteComboBoxResizeEvent
AutoCompleteComboBoxResizeEvent.type property = com.flextras.autoCompleteComboBox.AutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPAND_BEGIN

This event is dispatched when expandDropDownToContent is set to true and we're about to expand the width of the drop down. This event is cancellable. If it is canceled, then the width of the drop down will be set to the width of the AutoCompleteComboBox.

The AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPAND_BEGIN constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox expandDropDownToContent is set to true and we're about to set a new width. If this event is cancelled, the width will be set to the width of the AutoCompleteComboBox instance.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelabletrue
currentSizeThe current width of the drop down
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
newSizeThe new width we're about to set the drop down to
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
typeAutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPAND_BEGIN

See also

dropdownWidthExpandedevent  
Event object type: com.flextras.autoCompleteComboBox.AutoCompleteComboBoxResizeEvent
AutoCompleteComboBoxResizeEvent.type property = com.flextras.autoCompleteComboBox.AutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPAND_BEGIN

This event is dispatched when expandDropDownToContent is set to true and we just expanded the width of the drop down.

The AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPANDED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox expandDropDownToContent is set to true and we just expanded the width of the drop down.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelablefalse
currentSizeThe current width of the drop down. This will be the same as the newSize
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
newSizeThe width the drop down was just set to.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
typeAutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPANDED

See also

labelNotTruncatedevent  
Event object type: com.flextras.autoCompleteComboBox.AutoCompleteComboBoxEvent
AutoCompleteComboBoxEvent.type property = com.flextras.autoCompleteComboBox.AutoCompleteComboBoxEvent.LABEL_NOT_TRUNCATED

This event is dispatched when truncateToFit is set to true, but there was enough room to display the selectedLabel without shortening it.

The AutoCompleteComboBoxEvent.LABEL_NOT_TRUNCATED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox truncateToFit is set to true, but there was enough room to display the selectedLabel without truncating it.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
textThe untruncated text, same value of the selectedLabel
newTextThe untruncated text, in this case same value of the selectedLabel
typeAutoCompleteComboBoxEvent.LABEL_NOT_TRUNCATED

See also

labelTruncatedevent  
Event object type: com.flextras.autoCompleteComboBox.AutoCompleteComboBoxEvent
AutoCompleteComboBoxEvent.type property = com.flextras.autoCompleteComboBox.AutoCompleteComboBoxEvent.LABEL_TRUNCATED

This event is dispatched when the display label was truncated. For this to fire, the truncateToFit property must be set to true and the display label must be too large to fit in the width of the AutoCompleteComboBox.

The AutoCompleteComboBoxEvent.LABEL_TRUNCATED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox truncates the label the label.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
textThe untruncated text
newTextThe truncated text
typeAutoCompleteComboBoxEvent.LABEL_TRUNCATED

See also

selectedValueNotFoundevent  
Event object type: flash.events.Event
Event.type property = com.flextras.autoCompleteComboBox.AutoCompleteComboBoxEvent.SELECTED_VALUE_NOT_FOUND

This event is dispatched when the selectedValue was set, but not found in the dataProvider. If this event is cancelled, the selectedValue, selectedIndex, and selectedItem will not change. If not cancelled, the AutoCompleteComboBox will be put into the unselected state where selectedIndex = -1. If you want run code when the selected value is found, listen to the change event.

The AutoCompleteComboBoxEvent.SELECTED_VALUE_NOT_FOUND constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox selectedValue was set, but the value was not found in the dataProvider. If cancelled, the selectedIndex and selectedItem will not change. If not cancelled, the AutoCompleteComboBox will be put into the unselected state where selectedIndex = -1

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelabletrue
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
textThe current selected value of the AutoCompleteComboBox
newTextThe value that was not found in the AutoCompleteComboBox
typeAutoCompleteComboBoxEvent.SELECTED_VALUE_NOT_FOUND

See also

typeAheadReleaseTimerCompleteevent  
Event object type: com.flextras.autoCompleteComboBox.TypeAheadTimerEvent
TypeAheadTimerEvent.type property = com.flextras.autoCompleteComboBox.TypeAheadTimerEvent.TYPEAHEAD_RELEASETIMER_COMPLETE

This event is dispatched when the type-ahead timer is complete and the typeAheadText is reset.

The TypeAheadTimerEvent.TYPEAHEAD_RELEASETIMER_COMPLETE constant defines the value of the type property of the TypeAheadTimerEvent object for an TYPEAHEAD_RELEASETIMER_COMPLETE event, which indicates that the type-ahead timer is complete, therefore setting the typeAheadText property of the AutoCompleteComboBox to an empty string.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
TypeTypeAheadTimerEvent.TYPEAHEAD_RELEASETIMER_COMPLETE
typeAheadTextContains the text before the type-ahead string was made empty.

See also

typeAheadReleaseTimerStartevent  
Event object type: com.flextras.autoCompleteComboBox.TypeAheadTimerEvent
TypeAheadTimerEvent.type property = com.flextras.autoCompleteComboBox.TypeAheadTimerEvent.TYPEAHEAD_RELEASETIMER_START

This event is dispatched when the type-ahead timer is started. This is caused when the user types a new character.

The TypeAheadTimerEvent.TYPEAHEAD_RELEASETIMER_START constant defines the value of the type property of the TypeAheadTimerEvent object for a TYPEAHEAD_RELEASETIMER_START event. This most likely means that the user has typed a new character and the type-ahead timer has either started, or reset it self.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
TypeTypeAheadTimerEvent.TYPEAHEAD_RELEASETIMER_START
typeAheadTextContains the current type-ahead text string

See also

typeAheadReleaseTimerStopevent  
Event object type: com.flextras.autoCompleteComboBox.TypeAheadTimerEvent
TypeAheadTimerEvent.type property = com.flextras.autoCompleteComboBox.TypeAheadTimerEvent.TYPEAHEAD_RELEASETIMER_STOP

This event is dispatched when the type-ahead timer is stopped without completing. The most likely cause of this is that the user typed a new key, resetting the count down.

The TypeAheadTimerEvent.TYPEAHEAD_RELEASETIMER_STOP constant defines the value of the type property of the TypeAheadTimerEvent object for an TYPEAHEAD_RELEASETIMER_STOP event, which indicates that the type-ahead timer has been stopped. The most likely cause of this is that the user typed another character and the timer needs to start anew.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
TypeTypeAheadTimerEvent.TYPEAHEAD_RELEASETIMER_STOP
typeAheadTextContains the current type-ahead text string.

See also

typeAheadTextChangedevent  
Event object type: com.flextras.autoCompleteComboBox.AutoCompleteComboBoxEvent
AutoCompleteComboBoxEvent.type property = com.flextras.autoCompleteComboBox.AutoCompleteComboBoxEvent.TYPE_AHEAD_TEXT_CHANGED

This event id dispatched when type-ahead text changes. This will only be relevant if autoCompleteEnabled or typeAheadEnabled are set to true.

The AutoCompleteComboBoxEvent.TYPE_AHEAD_TEXT_CHANGED constant defines the value of the type property of the event object for an event that is dispatched when the type-ahead text is changed. This event will trigger if autoCompleteEnabled or typeAheadEnabled are set to true.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
textThe old text
newTextThe changed value
typeAutoCompleteComboBoxEvent.TYPE_AHEAD_TEXT_CHANGED

See also