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

Package | org.apache.flex.html.beads
Class | public class TextAreaView
Inheritance | TextAreaView TextFieldViewBase Object
Implements | IStrand

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The TextAreaView class is the default view for the org.apache.flex.html.TextArea class. It implements the classic desktop-like TextArea with a border and scrollbars. It does not support right-to-left text.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | beads : Array The array property that is used to add additional beads to an MXML tag. | TextAreaView
|  | border : Border [read-only] The border. | TextAreaView
|  | 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
|  | vScrollBar : VScrollBar [read-only] The vertical ScrollBar. | TextAreaView

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
--- | --- | ---
|  | TextAreaView() Constructor. | TextAreaView
|  | addBead(bead:IBead):void Add a bead to the strand. | TextAreaView
|  | getBeadByType(classOrInterface:Class):IBead Find a bead on the strand. | TextAreaView
|  | removeBead(value:IBead):IBead Remove a bead from the strand. | TextAreaView

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

beads | property

`public var beads:Array`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The array property that is used to add additional beads to an MXML tag. From ActionScript, just call addBead directly.

border | property |

`border:Border` [read-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The border.

Implementation
`public function get border():Border`

vScrollBar | property |

`vScrollBar:VScrollBar` [read-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The vertical ScrollBar.

Implementation
`public function get vScrollBar():VScrollBar`
Constructor Detail

TextAreaView | () | Constructor

`public function TextAreaView()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

Method Detail

addBead | () | method

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

getBeadByType | () | method |

`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

| `IBead` — The bead.

removeBead | () | method |

`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

| `IBead`

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