Packageorg.apache.flex.html.beads.models
Classpublic class StringSelectionModel
InheritanceStringSelectionModel Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements ISelectionModel

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

The StringSelectionModel class is a selection model for selecting a single string from a vector of strings.



Public Properties
 PropertyDefined By
  dataProvider : Object
The dataProvider, which is a Vector.<String>.
StringSelectionModel
  labelField : String
The labelField, which is not used in this implementation.
StringSelectionModel
  selectedIndex : int
The index of the selected item in the dataProvider.
StringSelectionModel
  selectedItem : Object
The data item selected in the dataProvider.
StringSelectionModel
  selectedString : String
The selected string.
StringSelectionModel
  strand : IStrand
[write-only] The host component for this bead.
StringSelectionModel
  strings : Vector.<String>
The vector of strings.
StringSelectionModel
Public Methods
 MethodDefined By
  
Constructor.
StringSelectionModel
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 dataProvider, which is a Vector.<String>.


Implementation
    public function get dataProvider():Object
    public function set dataProvider(value:Object):void
labelFieldproperty 
labelField:String

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

The labelField, which is not used in this implementation.


Implementation
    public function get labelField():String
    public function set labelField(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
selectedStringproperty 
selectedString:String

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

The selected string. This is the same as the selectedItem, but is strongly-typed.


Implementation
    public function get selectedString():String
    public function set selectedString(value:String):void
strandproperty 
strand:IStrand  [write-only]

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

The host component for this bead.


Implementation
    public function set strand(value:IStrand):void
stringsproperty 
strings:Vector.<String>

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

The vector of strings. This is the same as the dataProvider property but is strongly typed.


Implementation
    public function get strings():Vector.<String>
    public function set strings(value:Vector.<String>):void
Constructor Detail
StringSelectionModel()Constructor
public function StringSelectionModel()

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

Constructor.