Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
FormatableLabelView

Package | org.apache.flex.html.beads
Class | public class FormatableLabelView
Inheritance | FormatableLabelView TextFieldView TextFieldViewBase Object

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The FormatableLabelView class is a View bead that is capable of working with a format bead to display a formatted value. When the format bead has created a formatted string, it dispatches a formatChanged event that the FormatableLabelView class intercepts and displays in the label.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | html : String The html formatted text displayed in the control. | TextFieldViewBase
|  | strand : IStrand [override] [write-only] The host component for this bead. | FormatableLabelView
|  | text : String The text displayed in the control. | TextFieldViewBase
|  | textField : CSSTextField [read-only] | TextFieldViewBase

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined 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

| Method | Defined By
--- | --- | ---
|  | FormatableLabelView() constructor | FormatableLabelView

Protected Methods
Show Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | autoSizeIfNeeded():void Handle autosizing. | TextFieldViewBase
|  | heightChangeHandler(event:Event):void Determine the height of the TextField. | TextFieldViewBase
|  | sizeChangeHandler(event:Event):void Determine the size of the TextField. | TextFieldViewBase
|  | widthChangeHandler(event:Event):void Determine the width of the TextField. | TextFieldViewBase

Property Detail

strand | property

`strand:IStrand` [write-only] [override]

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`
Constructor Detail

FormatableLabelView | () | Constructor

`public function FormatableLabelView()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor

Mon Sep 5 2016, 07:19 AM -07:00