docs » plugins.core.tangent.manager.controls
Represents a Tangent Group
- Constructors - API calls which return an object, typically one that offers API methods
- controls
- Fields - Variables which can only be accessed from an object returned by a constructor
- active
- enabled
- Methods - API calls which can only be made on an object returned by a constructor
- action
- controls
- findByID
- group
- menu
- parameter
- parent
- register
- tangent
- unregister
- xml
Signature | plugins.core.tangent.manager.controls(id, name) |
---|---|
Type | Constructor |
Description | Creates a new Group instance. |
Parameters |
|
Signature | plugins.core.tangent.manager.controls.active <cp.prop: boolean; read-only> |
---|---|
Type | Field |
Description | Indicates if the controls are active. They will be active if enabled is true . |
Signature | plugins.core.tangent.manager.controls.enabled <cp.prop: boolean> |
---|---|
Type | Field |
Description | Indicates if the controls are enabled. |
Signature | plugins.core.tangent.manager.controls:action(id[, name]) -> action |
---|---|
Type | Method |
Description | Adds an action to this controls. |
Returns |
|
Signature | plugins.core.tangent.manager.controls:controls() -> controls |
---|---|
Type | Method |
Description | Returns this controls instance. |
Parameters |
|
Returns |
|
Signature | plugins.core.tangent.manager.controls:findByID(id) -> table |
---|---|
Type | Method |
Description | Finds a control (Action/Parameter/Mode) by its unique ID. |
Parameters |
|
Returns |
|
Signature | plugins.core.tangent.manager.controls:group(name) -> group |
---|---|
Type | Method |
Description | Adds a subgroup to this group. |
Returns |
|
Signature | plugins.core.tangent.manager.controls:menu(id[, name]) -> menu |
---|---|
Type | Method |
Description | Adds an menu to this controls. |
Returns |
|
Signature | plugins.core.tangent.manager.controls:parameter(id[, name]) -> parameter |
---|---|
Type | Method |
Description | Adds an parameter to this controls. |
Returns |
|
Signature | plugins.core.tangent.manager.controls:parent() -> nil |
---|---|
Type | Method |
Description | Always returns nil , sinces controls have no parent. |
Parameters |
|
Returns |
|
Signature | plugins.core.tangent.manager.controls:register(control) -> self |
---|---|
Type | Method |
Description | Registers a control (Action/Parameter/Menu) with it's ID |
Parameters |
|
Returns |
|
Signature | plugins.core.tangent.manager.controls:tangent() -> hs.tangent |
---|---|
Type | Method |
Description | The hs.tangent connection. |
Parameters |
|
Returns |
|
Signature | plugins.core.tangent.manager.controls:unregister(control) -> self |
---|---|
Type | Method |
Description | Unregisters a control (Action/Parameter/Menu) with it's ID |
Parameters |
|
Returns |
|
Signature | plugins.core.tangent.manager.controls:xml() -> cp.web.xml |
---|---|
Type | Method |
Description | Returns the xml configuration for the Group. |
Parameters |
|
Returns |
|