| Package | org.servebox.commons.value |
| Class | public dynamic class ObjectWrapper |
| Inheritance | ObjectWrapper flash.utils.Proxy |
| Implements | IBasicObject |
| Property | Defined by | ||
|---|---|---|---|
| object : Object [read-only]
Returns the original object that has been wrapped.
| ObjectWrapper | ||
| Method | Defined by | ||
|---|---|---|---|
|
ObjectWrapper(valueToWrap:Object)
Creates a new BasicObject object.
| ObjectWrapper | ||
|
equals(value:IBasicObject):Boolean
Object comparison mechanism.
| ObjectWrapper | ||
|
getObject():Object
Returns the wrapped object.
| ObjectWrapper | ||
|
hashCode():int
Returns the hashcode of the object.
| ObjectWrapper | ||
|
toString():String
Returns the string representation of the specified object.
| ObjectWrapper | ||
| Method | Defined by | ||
|---|---|---|---|
|
callProperty(methodName:*, ... args):*
Overrides the behavior of an object property that can be called as a function.
| ObjectWrapper | ||
|
getProperty(name:*):*
Overrides any request for a property's value.
| ObjectWrapper | ||
|
setProperty(name:*, value:*):void
Overrides a call to change a property's value.
| ObjectWrapper | ||
| object | property |
object:Object [read-only]Returns the original object that has been wrapped.
Implementation public function get object():Object
| ObjectWrapper | () | constructor |
public function ObjectWrapper(valueToWrap:Object)Creates a new BasicObject object.
ParametersvalueToWrap:Object |
| callProperty | () | method |
flash_proxy override function callProperty(methodName:*, ... args):*Overrides the behavior of an object property that can be called as a function. When a method of the object is invoked, this method is called. While some objects can be called as functions, some object properties can also be called as functions.
ParametersmethodName:* |
|
... args |
* |
| equals | () | method |
public function equals(value:IBasicObject):Boolean
Object comparison mechanism. By default, the comparison is
performed using the == operator. The definition
of your own equals method is strongly encouraged.
value:IBasicObject |
Boolean |
| getObject | () | method |
public function getObject():ObjectReturns the wrapped object.
ReturnsObject |
| getProperty | () | method |
flash_proxy override function getProperty(name:*):*Overrides any request for a property's value. If the property can't be found, the method returns undefined. For more information on this behavior, see the ECMA-262 Language Specification, 3rd Edition, section 8.6.2.1.
Parametersname:* |
* |
| hashCode | () | method |
public function hashCode():intReturns the hashcode of the object.
Returnsint |
| setProperty | () | method |
flash_proxy override function setProperty(name:*, value:*):voidOverrides a call to change a property's value. If the property can't be found, this method creates a property with the specified name and value.
Parametersname:* |
|
value:* |
| toString | () | method |
public function toString():StringReturns the string representation of the specified object.
ReturnsString |