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 var beads:Array
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
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
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
public function Strand()
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Constructor.
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.
|
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 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
Mon Sep 5 2016, 07:19 AM -07:00