Packagevegas
Classpublic class CoreObject
InheritanceCoreObject Inheritance Object
Implements Loggable, Serializable
Subclasses AbstractController

CoreObject offers a default implementation of the Loggable and Serializable interfaces.

Example :

     import vegas.core.CoreObject ;
     var core:CoreObject = new CoreObject() ;
     trace("core     : " + core) ;
     trace("toSource : " + core.toSource()) ;
     



Public Properties
 PropertyDefined By
  logger : Logger
Determinates the internal Logger reference of this Loggable object.
CoreObject
Public Methods
 MethodDefined By
  
Creates a new CoreObject instance.
CoreObject
  
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
CoreObject
  
toString():String
Returns the string representation of this instance.
CoreObject
Property Detail
loggerproperty
logger:Logger

Determinates the internal Logger reference of this Loggable object.


Implementation
    public function get logger():Logger
    public function set logger(value:Logger):void
Constructor Detail
CoreObject()Constructor
public function CoreObject()

Creates a new CoreObject instance.

Method Detail
toSource()method
public function toSource(indent:int = 0):String

Returns the string representation the source code of the object.

Parameters

indent:int (default = 0)

Returns
String — the string representation the source code of the object.
toString()method 
public function toString():String

Returns the string representation of this instance.

Returns
String — the string representation of this instance.