Packageorg.apache.flex.core
Interfacepublic interface IStrand
Implementors Application, Application, BinaryUploader, Button, CheckBox, HTTPService, ListView, RadioButton, ScrollBarView, Strand, TextAreaView, TextFieldItemRenderer, UIBase, UIBase, UIButtonBase

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

The IStrand interface is the basic interface for a host component for a set of plug-ins known as Beads. In FlexJS, the recommended pattern is to break out optional functionality into small plug-ins that can be re-used in other components, or replaced with different implementations optimized for different things such as size, performance, advanced features, debugging, etc. Beads are added to and removed from a Strand and can find and coordinate with other beads on the strand.



Public Methods
 MethodDefined By
  
addBead(bead:IBead):void
Add a bead to the strand.
IStrand
  
getBeadByType(classOrInterface:Class):IBead
Find a bead on the strand.
IStrand
  
Remove a bead from the strand.
IStrand
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(bead: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

bead:IBead — bead The bead to be removed.

Returns
IBead