#cp.apple.finalcutpro.timeline.IndexSection

An abstract base class for sections inside the Index. This contains common methods and other definitions that apply for all sections.

This will generally not be created directly, but will be created via subclass such as IndexClips.


#API Overview

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

#Constructors

Signaturecp.apple.finalcutpro.timeline.IndexSection(index) -> IndexSection
TypeConstructor
DescriptionCreates the IndexSection instance.
Parameters
  • index - The Index instance.
Returns
    NotesNone
    ExamplesNone
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 18

    #Fields

    Signaturecp.apple.finalcutpro.timeline.IndexSection.activate <cp.ui.RadioButton>
    TypeField
    DescriptionThe RadioButton that activates the section.
    Notes
    • Must be overridden in subclasses to provide the actual RadioButton.
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 65

    Signaturecp.apple.finalcutpro.timeline.IndexSection.index <cp.apple.finalcutpro.timeline.Index>
    TypeField
    DescriptionThe parent Index.
    NotesNone
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 26

    Signaturecp.apple.finalcutpro.timeline.IndexSection.isShowing <cp.prop: boolean; read-only; live?>
    TypeField
    DescriptionIndicates if the section is currently showing.
    NotesNone
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 84

    Signaturecp.apple.finalcutpro.timeline.IndexSection.search <cp.ui.SearchField>
    TypeField
    DescriptionThe shared SearchField for the Index
    NotesNone
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 58

    Signaturecp.apple.finalcutpro.timeline.IndexSection.UI <cp.prop: axuielement; read-only; live?>
    TypeField
    DescriptionThe axuielement that represents the item.
    NotesNone
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 75

    #Methods

    Signaturecp.apple.finalcutpro.timeline.IndexSection:app() -> cp.apple.finalcutpro
    TypeMethod
    DescriptionThe Final Cut Pro instance.
    Parameters
    • None
    Returns
    NotesNone
    ExamplesNone
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 45

    Signaturecp.apple.finalcutpro.timeline.IndexSection:doActivateSearch() -> cp.rx.go.Statement
    TypeMethod
    DescriptionReturns a Statement that will show the Clips in the Timeline Index and focus on the Search field.
    Parameters
    • None
    Returns
    NotesNone
    ExamplesNone
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 113

    Signaturecp.apple.finalcutpro.timeline.IndexSection:doShow() -> cp.rx.go.Statement
    TypeMethod
    DescriptionA Statement that will show the Clips section in the Timeline Index, if possible.
    Parameters
    • None
    Returns
    NotesNone
    ExamplesNone
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 92

    Signaturecp.apple.finalcutpro.timeline.IndexSection:parent() -> cp.apple.finalcutpro.timeline.Index
    TypeMethod
    DescriptionThe parent index.
    Parameters
    • None
    Returns
    • The parent index.
    NotesNone
    ExamplesNone
    Sourcesrc/extensions/cp/apple/finalcutpro/timeline/IndexSection.lua line 32