Packageorg.apache.flex.html.beads
Classpublic class TextFieldViewBase
InheritanceTextFieldViewBase Inheritance Object
Implements IBeadView, ITextFieldView
Subclasses MultilineTextFieldView, TextAreaView, TextFieldView, TextInputView

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

The TextFieldViewBase class is the base class for the components that display text. It displays text using a TextField, so there is no right-to-left text support in this view.



Public Properties
 PropertyDefined By
  html : String
The html formatted text displayed in the control.
TextFieldViewBase
  strand : IStrand
[write-only] The host component for this bead.
TextFieldViewBase
  text : String
The text displayed in the control.
TextFieldViewBase
  textField : CSSTextField
[read-only]
TextFieldViewBase
Protected Properties
 PropertyDefined By
  autoHeight : Boolean
Whether we are autosizing the height.
TextFieldViewBase
  autoWidth : Boolean
Whether we are autosizing the width.
TextFieldViewBase
  inHeightChange : Boolean = false
A flag to prevent looping.
TextFieldViewBase
  inWidthChange : Boolean = false
A flag to prevent looping.
TextFieldViewBase
  _strand : IStrand
TextFieldViewBase
Public Methods
 MethodDefined By
  
Constructor.
TextFieldViewBase
Protected Methods
 MethodDefined By
  
Handle autosizing.
TextFieldViewBase
  
Determine the height of the TextField.
TextFieldViewBase
  
Determine the size of the TextField.
TextFieldViewBase
  
Determine the width of the TextField.
TextFieldViewBase
Property Detail
_strandproperty
protected var _strand:IStrand

autoHeightproperty 
protected var autoHeight:Boolean

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

Whether we are autosizing the height.

autoWidthproperty 
protected var autoWidth:Boolean

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

Whether we are autosizing the width.

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 displayed in the control.


Implementation
    public function get html():String
    public function set html(value:String):void
inHeightChangeproperty 
protected var inHeightChange:Boolean = false

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

A flag to prevent looping.

inWidthChangeproperty 
protected var inWidthChange:Boolean = false

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

A flag to prevent looping.

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 displayed in the control.


Implementation
    public function get text():String
    public function set text(value:String):void
textFieldproperty 
textField:CSSTextField  [read-only]

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


Implementation
    public function get textField():CSSTextField
Constructor Detail
TextFieldViewBase()Constructor
public function TextFieldViewBase()

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

Constructor.

Method Detail
autoSizeIfNeeded()method
protected function autoSizeIfNeeded():void

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

Handle autosizing. The built-in player algorithm doesn't work the way we would like, especially when it collapses Textfields with empty strings.

heightChangeHandler()method 
protected function heightChangeHandler(event:Event):void

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

Determine the height of the TextField.

Parameters

event:Event

sizeChangeHandler()method 
protected function sizeChangeHandler(event:Event):void

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

Determine the size of the TextField.

Parameters

event:Event

widthChangeHandler()method 
protected function widthChangeHandler(event:Event):void

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

Determine the width of the TextField.

Parameters

event:Event