#cp.apple.finalcutpro.timeline.AudioRole

Extends Role

A Role representing Audio.


#API Overview

Functions - API calls offered directly by the extension

Constructors - API calls which return an object, typically one that offers API methods

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


#API Documentation

#Functions

Signaturecp.apple.finalcutpro.timeline.AudioRole.matches(element) -> boolean
TypeFunction
DescriptionChecks if the element is a "Audio" Role.
Parameters
  • element - An element to check
Returns
  • A boolean
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/AudioRole.lua line 20

#Constructors

Signaturecp.apple.finalcutpro.timeline.AudioRole(parent, uiFinder)
TypeConstructor
DescriptionCreates a new instance with the specified parent and uiFinder.
Parameters
  • parent - the parent Element.
  • uiFinder - a function or cp.prop containing the axuielement
Returns
  • The new Row.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/AudioRole.lua line 35

#Fields

Signaturecp.apple.finalcutpro.timeline.AudioRole.focusedInTimeline <cp.ui.CheckBox>
TypeField
DescriptionA CheckBox that toggles this role is larger than the other audio roles on the timeline.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/AudioRole.lua line 49

Signaturecp.apple.finalcutpro.timeline.AudioRole.subroleLanes <cp.ui.CheckButton>
TypeField
DescriptionA CheckButton that toggles whether the subroles are visible in the Timeline.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/AudioRole.lua line 70

Signaturecp.apple.finalcutpro.timeline.AudioRole.subrolesExpanded <cp.ui.CheckButton>
TypeField
DescriptionA CheckButton that toggles whether the roles are visible in the Index.
Notes
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/AudioRole.lua line 58

#Methods

Signaturecp.apple.finalcutpro.timeline.AudioRole:doFocusInTimeline() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that will attempt to focus on this audio role in the timeline.
Parameters
  • None
Returns
  • A Statement
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/AudioRole.lua line 79

Signaturecp.apple.finalcutpro.timeline.AudioRole:doHideSubroleLanes() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that will attempt to hide the subrole lanes on this audio role in the timeline.
Parameters
  • None
Returns
  • A Statement
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/AudioRole.lua line 118

Signaturecp.apple.finalcutpro.timeline.AudioRole:doShowSubroleLanes() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that will attempt to show the subrole lanes on this audio role in the timeline.
Parameters
  • None
Returns
  • A Statement
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/AudioRole.lua line 105

Signaturecp.apple.finalcutpro.timeline.AudioRole:doUnfocusInTimeline() -> cp.rx.go.Statement
TypeMethod
DescriptionA Statement that will attempt to unfocus on this audio role in the timeline.
Parameters
  • None
Returns
  • A Statement
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/AudioRole.lua line 92