Package | spark.core |
Interface | public interface IDisplayText extends IEventDispatcher |
Implementors | TextBase |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4.5 |
Runtime Versions: | Flash Player 10.1, AIR 2.0 |
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 |
Public Methods
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | IEventDispatcher | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Property Detail
isTruncated | property |
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
Thu Dec 4 2014, 05:50 PM -08:00