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
context :*
TODO
emitter :*
Current 'originator' of the command, i.e what made the execution request.
enabled :boolean
TODO
icon :string
Icon asset of the command
isEnabled :boolean
TODO
name :string
Display name of the command
order :boolean
Display order of the command
running :boolean
TODO
Methods
Cancel()
TODO
CanExecute(p_context) → {boolean}
Checks whether this command can be executed within a given context
Parameters:
| Name | Type | Description |
|---|---|---|
p_context |
* |
Disable()
TODO
Enable()
TODO
Execute(p_context)
Execute the command within a given context
Parameters:
| Name | Type | Description |
|---|---|---|
p_context |
* |
PreventRelease()
- Inherited From:
_Cancel()
TODO
_End()
TODO
_Fail(p_msg)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_msg |
* |
_InternalCancel()
TODO
_InternalExecute()
TODO
_OnContextChanged()
TODO
_OnEmitterReleased(p_emitter)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_emitter |
* |
_SanitizeContext(p_context)
TODO
Parameters:
| Name | Type | Description |
|---|---|---|
p_context |
* |
_Start()
TODO
_Success()
TODO
Rent(p_class, p_nameopt, p_iconopt)
TODO
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
p_class |
function | |||
p_name |
string |
<optional> |
null
|
|
p_icon |
string |
<optional> |
null
|