protected var _1763739238_dataProvider:ArrayCollection
protected var _652820454_selectedItems:ArrayCollection
allowDuplicates:Boolean [write-only]
A flag that indicates whether or not you can select duplicate items when multiselect mode is enabled
The default value is false.
Implementation
public function set allowDuplicates(value:Boolean):void
allowEditingNewValues:Boolean [write-only]
A flag that indicates whether or not you can edit a new item which has been added. This only affects
the component when allowNewValues is set to false
Implementation
public function set allowEditingNewValues(value:Boolean):void
protected var _allowMultipleSelection:Boolean
allowMultipleSelection:Boolean [write-only]
Flag which sets whether or not we allow the user to
select more than one item
Implementation
public function set allowMultipleSelection(value:Boolean):void
allowNewValues:Boolean [write-only]
A flag that indicates whether or not you can select values which aren't in the dataProvider
The default value is true.
Implementation
public function set allowNewValues(value:Boolean):void
autoSelectEnabled:Boolean [write-only]
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
Implementation
public function set autoSelectEnabled(value:Boolean):void
autoSelectFunction:Function [write-only]
A function which controls whether or not to automatically select the item if it's the
only match. Note, this functionality is disabled if autoSelect is set to false.
Implementation
public function set autoSelectFunction(value:Function):void
backspaceAction:String [write-only]
The action to take when pressing backspace when the cursor is in front of a selected item.
The default value is focus.
Implementation
public function set backspaceAction(value:String):void
data:Object [write-only]Implementation
public function set data(value:Object):void
dataProvider:ArrayCollection [read-write]Implementation
public function get dataProvider():ArrayCollection
public function set dataProvider(value:ArrayCollection):void
dropDown:List [read-only]Implementation
public function get dropDown():List
dropDownItemRenderer:IFactory [write-only]
The custom item renderer for the dropdown displayed when searching.
Implementation
public function set dropDownItemRenderer(value:IFactory):void
dropDownLabelFunction:Function [write-only]Implementation
public function set dropDownLabelFunction(value:Function):void
dropDownRowCount:uint [write-only]
The number of rows to show in the dropDown which
appears when searching
Implementation
public function set dropDownRowCount(value:uint):void
dropDownWidth:int [write-only]Implementation
public function set dropDownWidth(value:int):void
enableClearIcon:Boolean [write-only]Implementation
public function set enableClearIcon(value:Boolean):void
errorString:String [read-write]Implementation
public function get errorString():String
public function set errorString(value:String):void
protected var _filterFunction:Function
filterFunction:Function [write-only]
A function that the view will use to eliminate items that do not match the function's criteria.
Implementation
public function set filterFunction(value:Function):void
protected var _inlineButton:Button
inlineButton:Button [read-write]Implementation
public function get inlineButton():Button
public function set inlineButton(value:Button):void
keyField:String [write-only]
This field is used in conjuction with the selectedItems or selectedItemId property to
determine if the item matches.
The default value is id.
Implementation
public function set keyField(value:String):void
protected var _labelField:String
labelField:String [write-only]
The name of the field in the data provider items to display as the label.
Implementation
public function set labelField(value:String):void
protected var _labelFunction:Function
labelFunction:Function [read-write]Implementation
public function get labelFunction():Function
public function set labelFunction(value:Function):void
listData:BaseListData [read-write]Implementation
public function get listData():BaseListData
public function set listData(value:BaseListData):void
matchType:String [read-write]Implementation
public function get matchType():String
public function set matchType(value:String):void
prompt:String [write-only]
The prompt to display before the component receives focus
Implementation
public function set prompt(value:String):void
searchText:String [read-write]
Returns the search string.
This property can be used as the source for data binding.
Implementation
public function get searchText():String
public function set searchText(value:String):void
selectedItem:* [read-write]
This property can be used as the source for data binding.
Implementation
public function get selectedItem():*
public function set selectedItem(value:*):void
protected var _selectedItemId:Number
selectedItemId:Number [write-only]
The id of the initially selected item.
Implementation
public function set selectedItemId(value:Number):void
selectedItems:ArrayCollection [read-write]
This property can be used as the source for data binding.
Implementation
public function get selectedItems():ArrayCollection
public function set selectedItems(value:ArrayCollection):void
showRemoveIcon:Boolean [write-only]
A flag that indicates whether or not to display the remove icon in the selected items.
The default value is false.
Implementation
public function set showRemoveIcon(value:Boolean):void
protected var _showSelectedItems:Boolean = true
text:String [read-write]
This property can be used as the source for data binding.
Implementation
public function get text():String
public function set text(value:String):void
textInput:PromptTextInput [read-only]
Implementation
public function get textInput():PromptTextInput
public function addItem(item:Object):voidParameters
protected override function commitProperties():void
public function defaultDropDownLabelFunction(item:Object):String
The default function used to determine the text to display in the dropdown when searching.
It will try to find the part of the item which matched the search string and highlight
it by making bold and underlined
Parameters
Returns
public function filterData():void
public function handleChange(event:Event):voidParameters
public function hideDropDown():void
public function isItemSelected(item:Object):BooleanParameters
Returns
public function isSettingValue():Boolean
Checks if the component is in the process of resolving the selecteItemId to it's respective object.
Returns
public function positionDropDown():void
public function removeAll():void
public function removeItemAt(index:int):voidParameters
public function search():void
This will cause the component to research the dataProvider and display the popUp if
there are any matches. This is useful when using a dynamic dataProvider. Simply call
this function once the data has been returned from the server
public override function setFocus():void
public function showDropDown():void
Dispatched when the selected items are changed by the user
Dispatched when the text in the search field is changed
Dispatched when the selected items are changed either by the user or programmitcally
public static const BACKSPACE_FOCUS:String = "focus"
public static const BACKSPACE_REMOVE:String = "remove"
public static const LAYOUT_HORIZONTAL:String = "horizontal"
public static const LAYOUT_VERTICAL:String = "vertical"
public static const MATCH_ANY_PART:String = "anyPart"
public static const MATCH_BEGINNING:String = "beginning"
public static const MATCH_WORD:String = "word"
public static const SEARCH_CHANGE:String = "searchChange"
public static const STYLE_FACEBOOK:String = "facebook"
public static const STYLE_MAC_MAIL:String = "macMail"
public static const STYLE_UNDERLINE:String = "underline"