| Package | vegas.ioc.io |
| Class | public class ObjectResource |
| Inheritance | ObjectResource SimpleValueObject Object |
| Subclasses | AssemblyResource, ConfigResource, ContextResource, FontResource, LocaleResource, ShaderResource, SoundResource, StyleSheetResource, TextResource, XMLResource |
| Property | Defined By | ||
|---|---|---|---|
| cache : Boolean
The cache flag of this resource (default is true). | ObjectResource | ||
| data : *
The data object of this resource. | ObjectResource | ||
| enabled : Boolean
A enabled flag of this resource. | ObjectResource | ||
![]() | id : *
Indicates the id of this ValueObject. | SimpleValueObject | |
| owner : *
The owner reference of this resource. | ObjectResource | ||
| 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 | ||
|---|---|---|---|
ObjectResource(init:Object = null)
Creates a new ObjectResource instance. | ObjectResource | ||
Creates a new ActionURLLoader object with the resource. | ObjectResource | ||
![]() | 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 | ||
![]() | 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 | ||
| cache | property |
public var cache:BooleanThe cache flag of this resource (default is true).
| data | property |
public var data:*The data object of this resource.
| enabled | property |
public var enabled:BooleanA enabled flag of this resource.
| owner | property |
public var owner:*The owner reference of this resource.
| resource | property |
public var resource:StringThe resource value.
| type | property |
public var type:StringThe type of the resource.
| verbose | property |
public var verbose:BooleanIndicates the verbose mode of the resource.
| ObjectResource | () | Constructor |
public function ObjectResource(init:Object = null)Creates a new ObjectResource 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 |
public function create():CoreActionLoaderCreates a new ActionURLLoader object with the resource. Overrides this method.
ReturnsCoreActionLoader |
| initialize | () | method |
public function initialize(... args):voidThe optional method invoked when the resource is loading. Overrides this method.
Parameters
... args |
| toString | () | method |
override public function toString():String
Returns the String representation of this object.
String — the String representation of this object.
|