Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.core 
IFontContextComponent 
Packagemx.core
Interfacepublic 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
 PropertyDefined 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