#cp.apple.finalcutpro.timeline.CaptionsSubrole

Extends Role

A Role representing Captions.


#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


#API Documentation

#Functions

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

#Constructors

Signaturecp.apple.finalcutpro.timeline.CaptionsSubrole(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/CaptionsSubrole.lua line 30

#Fields

Signaturecp.apple.finalcutpro.timeline.CaptionsSubrole.format <cp.ui.StaticText>
TypeField
DescriptionA StaticText which represents the subtitle format (e.g. "ITT", "SRT").
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/CaptionsSubrole.lua line 44

Signaturecp.apple.finalcutpro.timeline.CaptionsSubrole.visibleInTimeline <cp.ui.CheckBox>
TypeField
DescriptionA CheckBox that indicates if the subtitle track is visible in the Viewer.
NotesNone
Sourcesrc/extensions/cp/apple/finalcutpro/timeline/CaptionsSubrole.lua line 53