Example :
import vegas.core.CoreObject ;
var core:CoreObject = new CoreObject() ;
trace("core : " + core) ;
trace("hashcode : " + core.hashCode()) ;
trace("toSource : " + core.toSource()) ;
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new CoreObject instance.
| CoreObject | ||
|
Returns the internal
ILogger reference of this ILogable object. | CoreObject | ||
|
hashCode():uint
Returns a hashcode value for the object.
| CoreObject | ||
|
Sets the internal
ILogger reference of this ILogable object. | 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 | ||
| CoreObject | () | constructor |
public function CoreObject()Creates a new CoreObject instance.
| getLogger | () | method |
public function getLogger():ILogger
Returns the internal ILogger reference of this ILogable object.
ILogger —
the internal ILogger reference of this ILogable object.
|
| hashCode | () | method |
public function hashCode():uintReturns a hashcode value for the object.
Returnsuint — a hashcode value for the object.
|
| setLogger | () | method |
public function setLogger(log:ILogger = null):void
Sets the internal ILogger reference of this ILogable object.
log:ILogger (default = null) |
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the string representation the source code of the object.
Parametersindent:int (default = 0) |
String — the string representation the source code of the object.
|
| toString | () | method |
public function toString():StringReturns the string representation of this instance.
ReturnsString — the string representation of this instance.
|