Packagecom.hillelcoren.components
Classpublic class AdvancedAutoComplete
InheritanceAdvancedAutoComplete Inheritance AutoComplete Inheritance mx.containers.Grid



Public Properties
 PropertyDefined by
  actionsMenuDataProvider : Object
[write-only] The menu options displayed in the Actions Menu.
AdvancedAutoComplete
 InheritedallowDuplicates : Boolean
A flag that indicates whether or not you can select duplicate items when multiselect mode is enabled
AutoComplete
 InheritedallowEditingNewValues : Boolean
A flag that indicates whether or not you can edit a new item which has been added.
AutoComplete
 InheritedallowMultipleSelection : Boolean
Flag which sets whether or not we allow the user to select more than one item
AutoComplete
 InheritedallowNewValues : Boolean
A flag that indicates whether or not you can select values which aren't in the dataProvider
AutoComplete
 InheritedautoSelectEnabled : Boolean
A flag which indicates whether or not we'll automatically select the value if either (a) there's only one match and it's equal to the text or (b) matches the custom autoSelectEnabled
AutoComplete
 InheritedautoSelectFunction : Function
A function which controls whether or not to automatically select the item if it's the only match.
AutoComplete
 InheritedbackspaceAction : String
The action to take when pressing backspace when the cursor is in front of a selected item.
AutoComplete
  browseLabel : String
[write-only] The text value for the label the browse button.
AdvancedAutoComplete
  browserClass : Class
AdvancedAutoComplete
  browserFields : Array
[write-only] The fields/columns to display in the browse window.
AdvancedAutoComplete
 Inheriteddata : Object
AutoComplete
 InheriteddataProvider : ArrayCollection
AutoComplete
 InheriteddropDown : List
AutoComplete
 InheriteddropDownItemRenderer : IFactory
The custom item renderer for the dropdown displayed when searching.
AutoComplete
 InheriteddropDownLabelFunction : Function
AutoComplete
 InheriteddropDownRowCount : uint
The number of rows to show in the dropDown which appears when searching
AutoComplete
 InheriteddropDownWidth : int
AutoComplete
 InheritedenableClearIcon : Boolean
AutoComplete
 InheritederrorString : String
AutoComplete
 InheritedfilterFunction : Function
A function that the view will use to eliminate items that do not match the function's criteria.
AutoComplete
 InheritedinlineButton : Button
AutoComplete
 InheritedkeyField : String
This field is used in conjuction with the selectedItems or selectedItemId property to determine if the item matches.
AutoComplete
 InheritedlabelField : String
The name of the field in the data provider items to display as the label.
AutoComplete
 InheritedlabelFunction : Function
AutoComplete
 InheritedlistData : BaseListData
AutoComplete
 InheritedmatchType : String
AutoComplete
 Inheritedprompt : String
The prompt to display before the component receives focus
AutoComplete
  removeLabel : String
[write-only] The text value for the label the remove button.
AdvancedAutoComplete
 InheritedsearchText : String
Returns the search string.
AutoComplete
 InheritedselectedItem : *
AutoComplete
 InheritedselectedItemId : Number
The id of the initially selected item.
AutoComplete
 InheritedselectedItems : ArrayCollection
AutoComplete
  selectionLayout : String
[write-only] When allowMultipleSelection is set to true, this specifies whether to layout the selected items horizontally (in a flow layout) or vertically (in a List).
AdvancedAutoComplete
  showBrowseButton : Boolean
[write-only] A flag that indicates whether or not to display the browse button.
AdvancedAutoComplete
  showOrderButtons : Boolean
[write-only] A flag that indicates whether or not we display the ordering buttons and allow the items to be drag-and-drop reorderd.
AdvancedAutoComplete
  showRemoveButton : Boolean
[write-only]
AdvancedAutoComplete
 InheritedshowRemoveIcon : Boolean
A flag that indicates whether or not to display the remove icon in the selected items.
AutoComplete
 Inheritedtext : String
AutoComplete
 InheritedtextInput : PromptTextInput
AutoComplete
  useListBuilder : Boolean
If this is set to true, when the user clicks the Browse button we'll display the List Builder (rather than a DataGrid or List).
AdvancedAutoComplete
Protected Properties
 PropertyDefined by
 Inherited_1763739238_dataProvider : ArrayCollection
AutoComplete
 Inherited_652820454_selectedItems : ArrayCollection
AutoComplete
 Inherited_allowMultipleSelection : Boolean
AutoComplete
  _browserClass : Class
AdvancedAutoComplete
 Inherited_filterFunction : Function
AutoComplete
 Inherited_inlineButton : Button
AutoComplete
 Inherited_labelField : String
AutoComplete
 Inherited_labelFunction : Function
AutoComplete
  _listBuilderClass : Class
AdvancedAutoComplete
 Inherited_selectedItemId : Number
AutoComplete
 Inherited_showSelectedItems : Boolean = true
AutoComplete
Public Methods
 MethodDefined by
 Inherited
addItem(item:Object):void
AutoComplete
 Inherited
defaultDropDownLabelFunction(item:Object):String
The default function used to determine the text to display in the dropdown when searching.
AutoComplete
 Inherited
filterData():void
AutoComplete
  
Returns the next available (un-selected) item in the data provider
AdvancedAutoComplete
 Inherited
handleChange(event:Event):void
AutoComplete
 Inherited
hideDropDown():void
AutoComplete
 Inherited
isItemSelected(item:Object):Boolean
AutoComplete
 Inherited
isSettingValue():Boolean
Checks if the component is in the process of resolving the selecteItemId to it's respective object.
AutoComplete
 Inherited
AutoComplete
 Inherited
removeAll():void
AutoComplete
 Inherited
removeItemAt(index:int):void
AutoComplete
 Inherited
search():void
This will cause the component to research the dataProvider and display the popUp if there are any matches.
AutoComplete
 Inherited
setFocus():void
AutoComplete
  
showBrowser():void
AdvancedAutoComplete
 Inherited
showDropDown():void
AutoComplete
Protected Methods
 MethodDefined by
  
AdvancedAutoComplete
Events
 EventSummaryDefined by
 Inherited Dispatched when the selected items are changed by the user AutoComplete
    AdvancedAutoComplete
   These events are active when the context menu is used AdvancedAutoComplete
    AdvancedAutoComplete
 Inherited Dispatched when the text in the search field is changed AutoComplete
 Inherited Dispatched when the selected items are changed either by the user or programmitcally AutoComplete
Styles
 StyleDescriptionDefined by
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
The color for the prompt shown when no value is set
AutoComplete
 Inherited Type: String   CSS Inheritance: yes
The style/skin for the selected item
AutoComplete
Public Constants
 ConstantDefined by
 InheritedBACKSPACE_FOCUS : String = "focus"
[static]
AutoComplete
 InheritedBACKSPACE_REMOVE : String = "remove"
[static]
AutoComplete
 InheritedLAYOUT_HORIZONTAL : String = "horizontal"
[static]
AutoComplete
 InheritedLAYOUT_VERTICAL : String = "vertical"
[static]
AutoComplete
 InheritedMATCH_ANY_PART : String = "anyPart"
[static]
AutoComplete
 InheritedMATCH_BEGINNING : String = "beginning"
[static]
AutoComplete
 InheritedMATCH_WORD : String = "word"
[static]
AutoComplete
 InheritedSEARCH_CHANGE : String = "searchChange"
[static]
AutoComplete
 InheritedSTYLE_FACEBOOK : String = "facebook"
[static]
AutoComplete
 InheritedSTYLE_MAC_MAIL : String = "macMail"
[static]
AutoComplete
 InheritedSTYLE_UNDERLINE : String = "underline"
[static]
AutoComplete
Property detail
actionsMenuDataProviderproperty
actionsMenuDataProvider:Object  [write-only]

The menu options displayed in the Actions Menu. Set this value to enable the menu feature.

Implementation
    public function set actionsMenuDataProvider(value:Object):void
browseLabelproperty 
browseLabel:String  [write-only]

The text value for the label the browse button.

The default value is Browse.

Implementation
    public function set browseLabel(value:String):void
_browserClassproperty 
protected var _browserClass:Class
browserClassproperty 
browserClass:Class  [read-write]Implementation
    public function get browserClass():Class
    public function set browserClass(value:Class):void
browserFieldsproperty 
browserFields:Array  [write-only]

The fields/columns to display in the browse window. If listBuilder is enable this property is ignored.

Implementation
    public function set browserFields(value:Array):void
_listBuilderClassproperty 
protected var _listBuilderClass:Class
removeLabelproperty 
removeLabel:String  [write-only]

The text value for the label the remove button.

The default value is Remove.

Implementation
    public function set removeLabel(value:String):void
selectionLayoutproperty 
selectionLayout:String  [write-only]

When allowMultipleSelection is set to true, this specifies whether to layout the selected items horizontally (in a flow layout) or vertically (in a List).

The default value is horizontal.

Implementation
    public function set selectionLayout(value:String):void
showBrowseButtonproperty 
showBrowseButton:Boolean  [write-only]

A flag that indicates whether or not to display the browse button. Clicking the browse button will show either a DataGrid or a List (depending on whether the dataProvider contains Objects or Strings). It useListBuilder is enabled an alternate List Builder browser will be displayed

The default value is false.

Implementation
    public function set showBrowseButton(value:Boolean):void
showOrderButtonsproperty 
showOrderButtons:Boolean  [write-only]

A flag that indicates whether or not we display the ordering buttons and allow the items to be drag-and-drop reorderd. This is only enabled when allowMultipleSelection is set to true and the multiSelectLayout property is set to AutoComplete.LAYOUT_VERTICAL

Implementation
    public function set showOrderButtons(value:Boolean):void
showRemoveButtonproperty 
showRemoveButton:Boolean  [write-only]Implementation
    public function set showRemoveButton(value:Boolean):void
useListBuilderproperty 
useListBuilder:Boolean  [read-write]

If this is set to true, when the user clicks the Browse button we'll display the List Builder (rather than a DataGrid or List).

The List Builder contains two lists next to each other. The user can add/remove items by selecting them and clicking the move left/move right buttons or by drag and dropping the items betweent the lists

The default value is false.

Implementation
    public function get useListBuilder():Boolean
    public function set useListBuilder(value:Boolean):void
Method detail
commitProperties()method
protected override function commitProperties():void
getNextItem()method 
public function getNextItem():*

Returns the next available (un-selected) item in the data provider

Returns
*
showBrowser()method 
public function showBrowser():void
Event detail
itemClickevent 
Event object type: mx.events.MenuEvent

menuHideevent  
Event object type: mx.events.MenuEvent

These events are active when the context menu is used

menuShowevent  
Event object type: mx.events.MenuEvent