Main Page | Packages | Class Tree | Index | Help

xp.system

class FontManager

Object
  |
  +--xp.system.FontManager


class FontManager
extends Object

Dynamically load embedded fonts from a shared library


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public static
EMPTY: Number
status constant - initialized

public static
FAILED: Number
status constant - failed

public static
fontManager
the singletion instance

public static
LOADED: Number
status constant - loaded

public static
LOADING: Number
status constant - loading

public static
QUEUED: Number
status constant - queued

public static
resourceRoot: String
the location of the font library resources(including trailing slash)

Method Summary

public
getFontInfo ( fontName: String ): Object
Returns the font info object

public
loadFont ( fontName: String ): Void
Load the specifed font

public
registerFont ( fontName: String ): Void
Registers an embeddedfont as being loaded

public
registerTextField ( textField: TextField, fontName: String ): Void
Registers a TextField as using an embedded font



Field Documentation

EMPTY

public static var EMPTY: Number
status constant - initialized

FAILED

public static var FAILED: Number
status constant - failed

fontManager

public static var fontManager
the singletion instance

LOADED

public static var LOADED: Number
status constant - loaded

LOADING

public static var LOADING: Number
status constant - loading

QUEUED

public static var QUEUED: Number
status constant - queued

resourceRoot

public static var resourceRoot: String
the location of the font library resources(including trailing slash)


Method Documentation

getFontInfo

public function getFontInfo(fontName: String): Object
Returns the font info object

Parameters:
fontName
The name of the font

loadFont

public function loadFont(fontName: String): Void
Load the specifed font

Parameters:
fontName
The name of the font

registerFont

public function registerFont(fontName: String): Void
Registers an embeddedfont as being loaded

Parameters:
fontName
The name of the font

registerTextField

public function registerTextField(textField: TextField,
 fontName: String): Void
Registers a TextField as using an embedded font

Parameters:
textField
The textField control that requires an embeded font
fontName
The name of the font

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc