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

Package | mx.core
Interface | public interface IFontContextComponent
Implementors | AdvancedDataGridBase, AdvancedDataGridGroupItemRenderer, Button, DataGridBase, DateChooser, FTETextField, Label, ListItemRenderer, MenuBarItem, MenuItemRenderer, Panel, ProgressBar, TextArea, TileListItemRenderer, ToolTip, TreeItemRenderer

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Allows a component to support a font context property. The property will be set on the component by the framework as the child is added to the display list. A font context is important for components that create flash.text.TextField objects with embedded fonts. If an embedded font is not registered using Font.registerFont(), TextField objects can only use embedded fonts if they are created in the context of the embedded font. This interface provides for tracking the font context of a component.

Public Properties

| Property | Defined By
--- | --- | ---
|  | fontContext : IFlexModuleFactory The module factory that provides the font context for this component. | IFontContextComponent

Property Detail

fontContext | property

`fontContext:IFlexModuleFactory`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The module factory that provides the font context for this component.

Implementation
`public function get fontContext():IFlexModuleFactory`
`public function set fontContext(value:IFlexModuleFactory):void`

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