#cp.apple.finalcutpro.timeline.IndexRoles
Provides access to the 'Roles' section of the Timeline Index
#API Overview
Fields - Variables which can only be accessed from an object returned by a constructor
Methods - API calls which can only be made on an object returned by a constructor
- allRoles
- audioRoles
- captionRoles
- doActivate
- doCollapseSubroles
- doDeactivate
- doFocusInTimeline
- doHideAudioLanes
- doHideSubroleLanes
- doLayout
- doShowAudioLanes
- doShowSubroleLanes
- doUnfocusInTimeline
- fineRoleTitled
- saveLayout
- videoRoles
#API Documentation
#Fields
Signature | cp.apple.finalcutpro.timeline.IndexRoles.activate <cp.ui.RadioButton> |
Type | Field |
Description | The RadioButton that activates the 'Roles' section. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 26 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles.area <cp.apple.finalcutpro.timeline.IndexRolesArea> |
Type | Field |
Description | The IndexRolesArea containing the list of Role. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 47 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles.collapseSubroles <cp.ui.Button> |
Type | Field |
Description | The Collapse Subroles Button. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 94 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles.editRoles <cp.ui.Button> |
Type | Field |
Description | The Edit Roles... Button. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 65 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles.hideAudioLanes <cp.ui.Button> |
Type | Field |
Description | The Hide Audio Lanes Button. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 85 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles.list <cp.apple.finalcutpro.timeline.IndexRolesList> |
Type | Field |
Description | The IndexRolesList for the roles. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 58 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles.showAudioLanes <cp.ui.Button> |
Type | Field |
Description | The Show Audio Lanes Button. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 76 |
#Methods
Signature | cp.apple.finalcutpro.timeline.IndexRoles:allRoles([includeSubroles]) -> table of Roles |
Type | Method |
Description | Finds all Roles, optionally including all Subroles |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 206 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:audioRoles([includeSubroles]) -> table of Roles |
Type | Method |
Description | Finds all Audio Roles, optionally including all Subroles |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 232 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:captionRoles([includeSubroles]) -> table of Roles |
Type | Method |
Description | Finds all Caption Roles, optionally including all Subroles |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 245 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doActivate(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will activate the provided role, if it is available. This will automatically show and hide the Index if it is not currently visible. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 274 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doCollapseSubroles() -> cp.rx.go.Statement |
Type | Method |
Description | A Statement that will collapse subroles, if they are currently expanded. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 135 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doDeactivate(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will deactivate the provided role, if it is available. This will automatically show and hide the Index if it is not currently visible. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 294 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doFocusInTimeline(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will focus the listed role, if it is available and is an AudioRole. This will automatically show and hide the Index if it is not currently visible. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 323 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doHideAudioLanes() -> cp.rx.go.Statement |
Type | Method |
Description | A Statement that will collapse subroles (if necessary) and hide the audio lanes. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 150 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doHideSubroleLanes(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will hide the subrole lanes for the listed role, if it is available and is an AudioRole. This will automatically show and hide the Index if it is not currently visible. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 383 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doLayout(layout) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will apply the layout provided, if possible. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 183 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doShowAudioLanes() -> cp.rx.go.Statement |
Type | Method |
Description | A Statement that will show the Audio Lanes when executed. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 120 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doShowSubroleLanes(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will show subrole lanes for the role, if it is available and is an AudioRole. This will automatically show and hide the Index if it is not currently visible. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 363 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:doUnfocusInTimeline(title) -> cp.rx.go.Statement |
Type | Method |
Description | Returns a Statement that will unfocus the listed role, if it is available and is an AudioRole. This will automatically show and hide the Index if it is not currently visible. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 343 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:fineRoleTitled(title) -> Role or nil |
Type | Method |
Description | Finds the Role with the specified title. |
Parameters |
|
Returns |
|
Notes |
|
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 258 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:saveLayout() -> table |
Type | Method |
Description | Returns a table containing the layout configuration for this class. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 166 |
Signature | cp.apple.finalcutpro.timeline.IndexRoles:videoRoles([includeSubroles]) -> table of Roles |
Type | Method |
Description | Finds all Video Roles, optionally including all Subroles |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/timeline/IndexRoles.lua line 219 |