Packageorg.apache.flex.core
Interfacepublic interface IComboBoxModel extends IEventDispatcher, IBeadModel, IBead, flash.events.IEventDispatcher
Implementors ComboBoxModel

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The IComboBoxModel interface describes the minimum set of properties available to a ComboBox control. More sophisticated ComboBox controls could have models that extend IComboBoxModel.



Public Properties
 PropertyDefined By
  dataProvider : Object
The set of choices displayed in the ComboBox's dropdown.
IComboBoxModel
  html : String
The html formatted text displayed in the ComboBox.
IComboBoxModel
  selectedIndex : int
The index of the selected item in the dataProvider.
IComboBoxModel
  selectedItem : Object
The data item selected in the dataProvider.
IComboBoxModel
  text : String
The text displayed in the ComboBox.
IComboBoxModel
Property Detail
dataProviderproperty
dataProvider:Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The set of choices displayed in the ComboBox's dropdown. The dataProvider can be a simple array or vector if the set of choices is not going to be modified (except by wholesale replacement of the dataProvider). To use different kinds of data sets, you may need to provide an alternate "mapping" bead that iterates the dataProvider, generates item renderers and assigns a data item to the item renderers.


Implementation
    public function get dataProvider():Object
    public function set dataProvider(value:Object):void
htmlproperty 
html:String

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The html formatted text displayed in the ComboBox.


Implementation
    public function get html():String
    public function set html(value:String):void
selectedIndexproperty 
selectedIndex:int

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The index of the selected item in the dataProvider. Values less than 0 can have specific meanings but generally mean that no item is selected because the user has typed in a custom entry or has yet to make a choice.


Implementation
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void
selectedItemproperty 
selectedItem:Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The data item selected in the dataProvider. null usually means that the user has not selected a value and has typed in a custom entry.


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

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The text displayed in the ComboBox.


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