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
emitter :*
- Inherited From:
enabled :boolean
- Inherited From:
icon :string
- Inherited From:
isEnabled :boolean
- Inherited From:
list :collections.List
TODO
name :string
- Inherited From:
order :boolean
- Inherited From:
running :boolean
- Inherited From:
Methods
Cancel()
- Inherited From:
CanExecute(p_context) → {boolean}
- Inherited From:
Create(p_class, p_name, p_icon, p_hooks) → {actions.Command}
TODO
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
p_class |
function | The constructor of Command to be created |
|
p_name |
string |
null
|
Name of the Command |
p_icon |
string |
null
|
Icon of the Command |
p_hooks |
array |
null
|
Auto-hook for the Command, in the format { evt: |
Disable()
- Inherited From:
Enable()
- Inherited From:
Execute(p_context)
- Inherited From:
PreventRelease()
- Inherited From:
RemoveCommand(p_cmd)
Removes a command from the box.
Parameters:
| Name | Type | Description |
|---|---|---|
p_cmd |
actions.Command |
_Cancel()
- Inherited From:
_End()
- Inherited From:
_Fail(p_msg)
- Inherited From:
_InternalCancel()
- Inherited From:
_InternalExecute()
- Inherited From:
_OnContextChanged()
- Inherited From:
_OnEmitterReleased(p_emitter)
- Inherited From:
_Register(p_cmd, p_hooksopt)
TODO
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
p_cmd |
actions.Command | |||
p_hooks |
array |
<optional> |
null
|
{evt:'', fn:'', thisArg:''} |
_SanitizeContext(p_context)
- Inherited From:
_Start()
- Inherited From:
_Success()
- Inherited From: