Packageorg.apache.flex.core
Classpublic class Strand
InheritanceStrand Inheritance EventDispatcher Inheritance flash.events.EventDispatcher
Implements IStrand
Subclasses ItemRendererClassFactory, ScrollBarView

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

The Strand class is the base class for non-display object that implement a strand.



Public Properties
 PropertyDefined By
  beads : Array
Strand
  id : String
An id property for MXML documents.
Strand
  model : IBeadModel
An IBeadModel that serves as the data model for the component.
Strand
Public Methods
 MethodDefined By
  
Constructor.
Strand
  
addBead(bead:IBead):void
Add a bead to the strand.
Strand
  
getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand.
Strand
  
Remove a bead from the strand.
Strand
Property Detail
beadsproperty
public var beads:Array

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

idproperty 
id:String

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

An id property for MXML documents.


Implementation
    public function get id():String
    public function set id(value:String):void
modelproperty 
model:IBeadModel

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

An IBeadModel that serves as the data model for the component. Note that there is no controller or view properties since this not a display object.


Implementation
    public function get model():IBeadModel
    public function set model(value:IBeadModel):void
Constructor Detail
Strand()Constructor
public function Strand()

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

Constructor.

Method Detail
addBead()method
public function addBead(bead:IBead):void

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

Add a bead to the strand.

Parameters

bead:IBead — The bead to be added.

getBeadByType()method 
public function getBeadByType(classOrInterface:Class):IBead

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

Find a bead on the strand.

Parameters

classOrInterface:Class — The class or interface to use to search for the bead

Returns
IBead — The bead.
removeBead()method 
public function removeBead(value:IBead):IBead

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

Remove a bead from the strand.

Parameters

value:IBead — bead The bead to be removed.

Returns
IBead