Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
IDisplayText

Package | spark.core
Interface | public interface IDisplayText extends flash.events.IEventDispatcher
Implementors | TextBase

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | Flash Player 10.1, AIR 2.0

The IDisplayText interface defines the properties and methods for simple text display.

Public Properties

| Property | Defined By
--- | --- | ---
|  | isTruncated : Boolean [read-only] A flag that indicates whether the text has been truncated. | IDisplayText
|  | text : String The text displayed by this text component. | IDisplayText

Property Detail

isTruncated | property

`isTruncated:Boolean` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | Flash Player 10.1, AIR 2.0

A flag that indicates whether the text has been truncated.

Implementation
`public function get isTruncated():Boolean`

text | property |

`text:String`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | Flash Player 10.1, AIR 2.0

The text displayed by this text component.

The formatting of this text is controlled by CSS styles. The supported styles depend on the subclass.

The default value is `""`.

Implementation
`public function get text():String`
`public function set text(value:String):void`

Sun Mar 5 2017, 03:42 PM +11:00