Extends
Broadcasting
This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals
This section list the main methods used to watch/unwatch signals on this object. For more info on signals, see signals
Methods
Unwatch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}
- Inherited From:
Watch(p_signal, p_fn, p_listener) → {common.pool.DisposableObjectEx}
- Inherited From:
WatchOnce(p_signalId, p_fn, p_listener) → {common.pool.DisposableObjectEx}
- Inherited From:
_Broadcast(p_signal, …args)
- Inherited From:
Methods
_Init()
- Inherited From:
_PostInit()
- Inherited From:
Methods
_Bind(p_func)
- Inherited From:
Members
isReleasing :boolean
- Inherited From:
Methods
Release()
- Inherited From:
_CleanUp()
- Inherited From:
Members
catalog :data.core.catalog.Catalog
TODO
count :number
TODO
deepWatch :boolean
TODO
enabled :boolean
TODO
isDeepWatchEnabled :boolean
TODO
isEnabled :boolean
TODO
owner :*
TODO
Methods
Disable()
Disable this watcher. If a catalog is set, it will be processed and removal signals will be broadcasted.
Enable()
Enable this watcher. If a catalog is set, it will be processed and addition signals will be broadcasted.
GetAt(p_index) → {*}
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_index |
number |
GetValueKeys(p_value) → {array}
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_value |
* |
PreventRelease()
- Inherited From:
Set(p_item, p_mappedValue) → {*}
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_item |
data.core.catalog.CatalogItem | |
p_mappedValue |
* |
_AddCatalogContent(p_catalog, p_deepopt)
Goes over the content of a given catalog and calls _OnCatalogItemAdded for each encountered item. This function is useful when the watcher is enabled with a set catalog to go through.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
p_catalog |
data.core.catalog.Catalog | |||
p_deep |
boolean |
<optional> |
false
|
_OnCatalogChanged(p_oldValue)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_oldValue |
data.core.catalog.Catalog | previously assigned catalog, if any |
_OnCatalogItemAdded(p_catalog, p_item)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_catalog |
data.core.catalog.Catalog | |
p_item |
data.core.catalog.CatalogItem |
_OnCatalogItemRemoved(p_catalog, p_item)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_catalog |
data.core.catalog.Catalog | |
p_item |
data.core.catalog.CatalogItem |
_OnCatalogSorted(p_catalog)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_catalog |
data.core.catalog.Catalog |
_OnItemDataReleased(p_item, p_data)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_item |
data.core.catalog.CatalogItem | |
p_data |
* |
_RemoveCatalogContent(p_catalog, p_deepopt)
Goes over the content of a given catalog and calls _OnCatalogItemRemoved for each encountered item. This function is useful when the watcher is disabled with a set catalog to go through.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
p_catalog |
data.core.catalog.Catalog | |||
p_deep |
boolean |
<optional> |
false
|