Packageorg.apache.flex.html.beads
Classpublic class CheckBoxView
InheritanceCheckBoxView Inheritance Object
Implements IBeadView

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

The CheckBoxView class is the default view for the org.apache.flex.html.CheckBox class. It displays a simple checkbox with an 'x' if checked, and a label on the right. There are no styles or properties to configure the look of the 'x' or the position of the label relative to the checkbox as there are no equivalents in the standard HTML checkbox. A more complex CheckBox could implement more view configuration.



Public Properties
 PropertyDefined By
  html : String
The html-formatted text to display in the label.
CheckBoxView
  selected : Boolean
true if the button is selected.
CheckBoxView
  strand : IStrand
[write-only] The host component for this bead.
CheckBoxView
  text : String
The text to display in the label.
CheckBoxView
Public Methods
 MethodDefined By
  
Constructor.
CheckBoxView
Protected Methods
 MethodDefined By
  
drawCheckBox(icon:Shape):void
Draw the checkbox
CheckBoxView
  
Display the icon and text label
CheckBoxView
Property Detail
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 to display in the label.


Implementation
    public function get html():String
    public function set html(value:String):void
selectedproperty 
selected:Boolean

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

true if the button is selected.


Implementation
    public function get selected():Boolean
    public function set selected(value:Boolean):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
textproperty 
text:String

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

The text to display in the label.


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

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

Constructor.

Method Detail
drawCheckBox()method
protected function drawCheckBox(icon:Shape):void

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

Draw the checkbox

Parameters

icon:Shape

layoutControl()method 
protected function layoutControl():void

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

Display the icon and text label