| Package | vegas.ioc.io |
| Class | public class FontResource |
| Inheritance | FontResource ObjectResource SimpleValueObject Object |
| Property | Defined By | ||
|---|---|---|---|
| autoRegister : Boolean
Indicates if the fonts in the external swf library (symbol class) are auto registered when the external file is loading. | FontResource | ||
![]() | cache : Boolean
The cache flag of this resource (default is true). | ObjectResource | |
| checkPolicyFile : Boolean
Indicates if the assembly must check a policy file in the server of the external library to load. | FontResource | ||
![]() | data : *
The data object of this resource. | ObjectResource | |
| DEFAULT_PATH : String [static]
The root path of all stylesheet resources. | FontResource | ||
![]() | enabled : Boolean
A enabled flag 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 | ||
![]() | id : *
Indicates the id of this ValueObject. | SimpleValueObject | |
![]() | owner : *
The owner reference of this resource. | ObjectResource | |
| path : String
The optional path of the external font library to load. | FontResource | ||
![]() | resource : String
The resource value. | ObjectResource | |
![]() | type : String
The type of the resource. | ObjectResource | |
![]() | verbose : Boolean
Indicates the verbose mode of the resource. | ObjectResource | |
| Method | Defined By | ||
|---|---|---|---|
FontResource(init:Object = null)
Creates a new FontResource instance. | FontResource | ||
[override]
Creates a new CoreActionLoader object with the resource. | FontResource | ||
![]() | equals(o:*):Boolean
Compares the specified object with this object for equality. | SimpleValueObject | |
![]() | formatToString(className:String = null, ... args):String
A utility function for implementing the toString() method. | SimpleValueObject | |
![]() | initialize(... args):void
The optional method invoked when the resource is loading. | ObjectResource | |
register(type:String = font):void [static]
Registers the resource in the ObjectResourceBuilder. | FontResource | ||
![]() | toObject():Object
Returns the Object representation of this object. | SimpleValueObject | |
![]() | toSource(indent:int = 0):String
Returns the source code string representation of the object. | SimpleValueObject | |
![]() | toString():String [override]
Returns the String representation of this object. | ObjectResource | |
| autoRegister | property |
public var autoRegister:BooleanIndicates if the fonts in the external swf library (symbol class) are auto registered when the external file is loading.
| checkPolicyFile | property |
public var checkPolicyFile:BooleanIndicates if the assembly must check a policy file in the server of the external library to load.
| DEFAULT_PATH | property |
public static var DEFAULT_PATH:StringThe root path of all stylesheet resources.
| fonts | property |
public var fonts:ArrayThe Array representation of all full class name of all embed fonts to load and register in the external library.
| path | property |
public var path:StringThe optional path of the external font library to load.
| FontResource | () | Constructor |
public function FontResource(init:Object = null)Creates a new FontResource instance.
Parametersinit:Object (default = null) — A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.
|
| create | () | method |
override public function create():CoreActionLoaderCreates a new CoreActionLoader object with the resource.
ReturnsCoreActionLoader |
| register | () | method |
public static function register(type:String = font):voidRegisters the resource in the ObjectResourceBuilder.
Parameters
type:String (default = font) |