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

Package | org.apache.flex.html.beads.models
Class | public class TextModel
Inheritance | TextModel EventDispatcher flash.events.EventDispatcher
Implements | IBead, ITextModel
Subclasses | ImageAndTextModel

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The TextModel class is most basic data model for a component that displays text. All FlexJS components that display text should also support HTML, although the Flash Player implementations may only support a subset of HTML.

Public Properties

| Property | Defined By
--- | --- | ---
|  | html : String The html formatted text displayed in the control. | TextModel
|  | strand : IStrand [write-only] The host component for this bead. | TextModel
|  | text : String The text displayed in the control. | TextModel

Public Methods

| Method | Defined By
--- | --- | ---
|  | TextModel() Constructor. | TextModel

Property Detail

html | property

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

strand | property |

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

text | property |

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

TextModel | () | Constructor

`public function TextModel()`

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