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

Package | org.apache.flex.core
Class | public class StyleableCSSTextField
Inheritance | StyleableCSSTextField CSSTextField flash.text.TextField
Implements | IStyleableObject, IChild

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The StyleableCSSTextField class implements more CSS text styles in a TextField. This makes it easier to use one in a "shadow DOM" in a complex skin.

Public Properties

| Property | Defined By
--- | --- | ---
|  | className : String The classname. | StyleableCSSTextField
|  | id : String An id property for MXML documents. | StyleableCSSTextField
|  | parent : DisplayObjectContainer [override] [read-only] | StyleableCSSTextField
|  | style : Object The object that contains "styles" and other associated name-value pairs. | StyleableCSSTextField
|  | typeNames : String A list of type names. | StyleableCSSTextField

Public Methods

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

Property Detail

className | property

`className:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The classname. Often used for CSS class selector lookups.

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

id | property |

`id:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

An id property for MXML documents.

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

parent | property |

`parent:DisplayObjectContainer` [read-only] [override]

Implementation
`public function get parent():DisplayObjectContainer`

style | property |

`style:Object`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The object that contains "styles" and other associated name-value pairs. You can also specify a string in HTML style attribute format.

Implementation
`public function get style():Object`
`public function set style(value:Object):void`

typeNames | property |

`public var typeNames:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

A list of type names. Often used for CSS type selector lookups.

Constructor Detail

StyleableCSSTextField | () | Constructor

`public function StyleableCSSTextField()`

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