Packageasgard.text
Classpublic class StyleSheetResource
InheritanceStyleSheetResource Inheritance ObjectResource Inheritance SimpleValueObject Inheritance CoreObject

This resource object contains all information about a stylesheet file to load in the application.



Public Properties
 PropertyDefined by
  DEFAULT_PATH : String = ""
[static] The root path of all stylesheet resources.
StyleSheetResource
 Inheriteddescription : String
The description of this resource.
ObjectResource
 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 styleSheet file to load.
StyleSheetResource
 Inheritedresource : String
The resource value.
ObjectResource
  styleSheet : *
The loader reference use to load the locale resource.
StyleSheetResource
 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
  
StyleSheetResource(init:Object = null)
Creates a new StyleSheetResource instance.
StyleSheetResource
  
Creates a new CoreActionLoader object with the resource.
StyleSheetResource
 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
DEFAULT_PATHproperty
public static var DEFAULT_PATH:String = ""

The root path of all stylesheet resources.

pathproperty 
public var path:String

The optional path of the external styleSheet file to load.

styleSheetproperty 
public var styleSheet:*

The loader reference use to load the locale resource.

Constructor detail
StyleSheetResource()constructor
public function StyleSheetResource(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