Apache Flex 4.16.1 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`

Wed Nov 15 2017, 09:50 AM +01:00