Packagenet.systemeD.controls
Classpublic class AutoComplete
InheritanceAutoComplete Inheritance mx.controls.ComboBox
SubclassesTagGrid_inlineComponent1, TagGrid_inlineComponent2

The AutoComplete control is an enhanced TextInput control which pops up a list of suggestions based on characters entered by the user. These suggestions are to be provided by setting the dataProvider property of the control.

MXML Syntaxexpanded Hide MXML Syntax

The <fc:AutoComplete> tag inherits all the tag attributes of its superclass, and adds the following tag attributes:

  <fc:AutoComplete
    Properties
    keepLocalHistory="false"
    typedText=""
    filterFunction="Internal filter function"
      Events
    filterFunctionChange="No default"
    typedTextChange="No default"
  />
  

See also

mx.controls.ComboBox


Public Properties
 PropertyDefined by
  dataProvider : Object
[write-only]
AutoComplete
  filterFunction : Function
AutoComplete
  labelField : String
[write-only]
AutoComplete
  maxChars : uint = 0
AutoComplete
  selectedIndex : int
[write-only]
AutoComplete
  typedText : String
AutoComplete
Public Methods
 MethodDefined by
  
AutoComplete
  
getStyle(styleProp:String):*
AutoComplete
Protected Methods
 MethodDefined by
  
AutoComplete
  
itemClickHandler(event:ListEvent):void
AutoComplete
  
keyDownHandler(event:KeyboardEvent):void
AutoComplete
  
measure():void
AutoComplete
  
AutoComplete
  
textInput_changeHandler(event:Event):void
AutoComplete
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
AutoComplete
Events
 EventSummaryDefined by
    AutoComplete
    AutoComplete
Property detail
dataProviderproperty
dataProvider:Object  [write-only]Implementation
    public function set dataProvider(value:Object):void
filterFunctionproperty 
filterFunction:Function  [read-write]

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

Implementation
    public function get filterFunction():Function
    public function set filterFunction(value:Function):void
labelFieldproperty 
labelField:String  [write-only]Implementation
    public function set labelField(value:String):void
maxCharsproperty 
public var maxChars:uint = 0
selectedIndexproperty 
selectedIndex:int  [write-only]Implementation
    public function set selectedIndex(value:int):void
typedTextproperty 
typedText:String  [read-write]

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

Implementation
    public function get typedText():String
    public function set typedText(value:String):void
Constructor detail
AutoComplete()constructor
public function AutoComplete()
Method detail
commitProperties()method
protected override function commitProperties():void
getStyle()method 
public override function getStyle(styleProp:String):*Parameters
styleProp:String

Returns
*
itemClickHandler()method 
protected function itemClickHandler(event:ListEvent):voidParameters
event:ListEvent
keyDownHandler()method 
protected override function keyDownHandler(event:KeyboardEvent):voidParameters
event:KeyboardEvent
measure()method 
protected override function measure():void
selectNextField()method 
protected function selectNextField():void
textInput_changeHandler()method 
protected override function textInput_changeHandler(event:Event):voidParameters
event:Event
updateDisplayList()method 
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number
 
unscaledHeight:Number
Event detail
filterFunctionChangeevent 
Event object type: flash.events.Event

typedTextChangeevent  
Event object type: flash.events.Event