#cp.apple.finalcutpro.timeline.IndexRolesList
Timeline Index Roles List.
#API Overview
Methods - API calls which can only be made on an object returned by a constructor
- allRoles
- audioRoles
- doActivate
- doDeactivate
- doFocusInTimeline
- doHideSubroleLanes
- doShowSubroleLanes
- doUnfocusInTimeline
- filterRoles
- findRoleTitled
- videoRoles
#API Documentation
#Methods
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:allRoles([includeSubroles]) -> table of Roles |
Type | Method |
Description | Returns the list of caption Roles in the current list. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 111 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:audioRoles([includeSubroles]) -> table of Roles |
Type | Method |
Description | Returns the list of all audio Roles in the current list. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 98 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:doActivate(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will activate the provided role, if it is available. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 144 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:doDeactivate(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will deactivate the provided role, if it is available. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 165 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:doFocusInTimeline(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will focus the provided AudioRole, if it is available. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 186 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:doHideSubroleLanes(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will hide subrole lanes for the provided AudioRole, if it is available. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 249 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:doShowSubroleLanes(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will show subrole lanes for the provided AudioRole, if it is available. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 228 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:doUnfocusInTimeline(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will unfocus the provided AudioRole, if it is available. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 207 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:filterRoles([matcherFn]) -> table of Roles or nil |
Type | Method |
Description | Filters the current list of Roles based on the given matchesFn predicate. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 50 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:findRoleTitled(title) -> Role or nil |
Type | Method |
Description | Returns the Role with the specified title. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 124 |
Signature | cp.apple.finalcutpro.timeline.IndexRolesList:videoRoles([includeSubroles]) -> table of Roles |
Type | Method |
Description | Returns the list of all video Roles in the current list. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRolesList.lua line 85 |