Packageasgard.text
Classpublic class FontResource
InheritanceFontResource Inheritance ObjectResource Inheritance SimpleValueObject Inheritance CoreObject

This resource object contains all information about an external library (swf) to embed fonts in the application.



Public Properties
 PropertyDefined by
  autoRegister : Boolean
Indicates if the fonts in the external swf library (symbol class) are auto registered when the external file is loading.
FontResource
  checkPolicyFile : Boolean
Indicates if the assembly must check a policy file in the server of the external library to load.
FontResource
  DEFAULT_PATH : String = ""
[static] The root path of all stylesheet resources.
FontResource
 Inheriteddescription : String
The description of this resource.
ObjectResource
  fonts : Array
The Array representation of all full class name of all embed fonts to load and register in the external library.
FontResource
 Inheritedid : *
(read-write) Indicates the id of this IValueObject.
SimpleValueObject
 Inheritedowner : *
The owner reference of this resource.
ObjectResource
  path : String
The optional path of the external font library to load.
FontResource
 Inheritedresource : String
The resource value.
ObjectResource
 Inheritedtitle : String
The title of this resource.
ObjectResource
 Inheritedtype : String
The type of the resource.
ObjectResource
 Inheritedverbose : Boolean
Indicates the verbose mode of the resource.
ObjectResource
Public Methods
 MethodDefined by
  
FontResource(init:Object = null)
Creates a new StyleSheetResource instance.
FontResource
  
Creates a new CoreActionLoader object with the resource.
FontResource
 Inherited
equals(o:*):Boolean
Compares the specified object with this object for equality.
SimpleValueObject
 Inherited
Returns the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
hashCode():uint
Returns a hashcode value for the object.
CoreObject
 Inherited
initialize(... args):void
The optional method invoked when the resource is loading.
ObjectResource
 Inherited
setLogger(log:ILogger = null):void
Sets the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
CoreObject
 Inherited
toString():String
Returns the String representation of this object.
ObjectResource
Property detail
autoRegisterproperty
public var autoRegister:Boolean

Indicates if the fonts in the external swf library (symbol class) are auto registered when the external file is loading.

checkPolicyFileproperty 
public var checkPolicyFile:Boolean

Indicates if the assembly must check a policy file in the server of the external library to load.

DEFAULT_PATHproperty 
public static var DEFAULT_PATH:String = ""

The root path of all stylesheet resources.

fontsproperty 
public var fonts:Array

The Array representation of all full class name of all embed fonts to load and register in the external library.

pathproperty 
public var path:String

The optional path of the external font library to load.

Constructor detail
FontResource()constructor
public function FontResource(init:Object = null)

Creates a new StyleSheetResource instance.

Parameters
init:Object (default = null) — A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.
Method detail
create()method
public override function create():CoreActionLoader

Creates a new CoreActionLoader object with the resource.

Returns
CoreActionLoader