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:
(p_signal, …args)
_Broadcast- Inherited From:
Methods
()
_Init- Inherited From:
()
_PostInit- Inherited From:
Methods
(p_func)
_Bind- Inherited From:
Members
:boolean
isReleasing- Inherited From:
Methods
Release()
- Inherited From:
()
_CleanUp- Inherited From:
Members
catalog :data.core.catalog.Catalog
TODO
:number
countTODO
:boolean
deepWatchTODO
:boolean
enabledTODO
:boolean
isDeepWatchEnabledTODO
:boolean
isEnabledTODO
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 |
* |
(p_catalog, p_deepopt)
_AddCatalogContentGoes 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
|
(p_oldValue)
_OnCatalogChangedTODO
Parameters:
Name | Type | Description |
---|---|---|
p_oldValue |
data.core.catalog.Catalog | previously assigned catalog, if any |
(p_catalog, p_item)
_OnCatalogItemAddedTODO
Parameters:
Name | Type | Description |
---|---|---|
p_catalog |
data.core.catalog.Catalog | |
p_item |
data.core.catalog.CatalogItem |
(p_catalog, p_item)
_OnCatalogItemRemovedTODO
Parameters:
Name | Type | Description |
---|---|---|
p_catalog |
data.core.catalog.Catalog | |
p_item |
data.core.catalog.CatalogItem |
(p_catalog)
_OnCatalogSortedTODO
Parameters:
Name | Type | Description |
---|---|---|
p_catalog |
data.core.catalog.Catalog |
(p_item, p_data)
_OnItemDataReleasedTODO
Parameters:
Name | Type | Description |
---|---|---|
p_item |
data.core.catalog.CatalogItem | |
p_data |
* |
(p_catalog, p_deepopt)
_RemoveCatalogContentGoes 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
|