IChildOnMap
Extends IChild.
Interface for an object whose parent belongs to a particular map.
Constructor | Fields | Events | Methods
Constructor
IChildOnMap()
Fields
|
Name |
Type |
Description |
|
Event manager. Inherited from IEventEmitter. |
Events
|
Name |
Description |
|
The parent object reference changed. Data fields:
Inherited from IChild. |
Methods
|
Name |
Returns |
Description |
|
IParentOnMap|null |
Returns link to the parent object, or null if the parent element was not set. |
|
|
Sets the parent object. If the null value is passed, the manager element will only be deleted from the current parent object. |
Methods details
getParent
{IParentOnMap|null} getParent()
Returns link to the parent object, or null if the parent element was not set.
setParent
{IChildOnMap} setParent(parent)
Sets the parent object. If the null value is passed, the manager element will only be deleted from the current parent object.
Returns self-reference.
Parameters:
|
Parameter |
Default value |
Description |
|
— |
Type: IParentOnMap|null Parent object. |
* Mandatory parameter/option.
Mandatory parameter/option.