#cp.apple.finalcutpro.main.GeneratorsBrowser
Generators Browser Module.
#API Overview
Constants - Useful values which cannot be changed
Variables - Configurable values
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
- applyItem
- currentItemsUI
- getCurrentTitles
- getGeneratorsRowLabel
- getTitlesRowLabel
- hide
- itemIsSelected
- loadLayout
- saveLayout
- selectedItemsUI
- show
- showAllGenerators
- showAllTitles
- showGeneratorsCategory
- showInstalledGenerators
- showInstalledTitles
- showSidebar
- showTitlesCategory
- topCategoriesUI
#API Documentation
#Constants
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser.TITLE -> string |
Type | Constant |
Description | Titles & Generators Title. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 37 |
#Variables
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser.isShowing <cp.prop: boolean> |
Type | Variable |
Description | Is the Generators Browser showing? |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 68 |
#Constructors
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser(parent) -> GeneratorsBrowser |
Type | Constructor |
Description | Creates a new GeneratorsBrowser instance. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 42 |
#Fields
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser.contents <cp.ui.ScrollArea> |
Type | Field |
Description | The Generators Browser Contents. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 152 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser.group <cp.ui.PopUpButton> |
Type | Field |
Description | The group. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 164 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser.mainGroupUI <cp.prop: axuielementObject> |
Type | Field |
Description | Main Group UI. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 130 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser.search <cp.ui.TextField> |
Type | Field |
Description | Gets the Search TextField object. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 173 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser.sidebar <cp.ui.OldTable> |
Type | Field |
Description | The sidebar object. |
Notes | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 143 |
#Methods
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:applyItem(itemUI) -> GeneratorsBrowser |
Type | Method |
Description | Applies an item by double clicking on it. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 380 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:currentItemsUI() -> axuielementObject |
Type | Method |
Description | Gets the current items UI. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 333 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:getCurrentTitles() -> table |
Type | Method |
Description | Returns the list of titles for all generators currently visible. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 399 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:getGeneratorsRowLabel() -> string |
Type | Method |
Description | Gets a Generators Row Label. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 287 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:getTitlesRowLabel() -> string |
Type | Method |
Description | Returns the label of the 'Titles' row in the current language. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 241 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:hide() -> GeneratorsBrowser |
Type | Method |
Description | Hides the Generators Browser. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 105 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:itemIsSelected(itemUI) -> boolean |
Type | Method |
Description | Checks to see if an item is selected. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 359 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:loadLayout(layout) -> none |
Type | Method |
Description | Loads a Generators Browser layout. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 444 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:saveLayout() -> table |
Type | Method |
Description | Saves the current Generators Browser layout to a table. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 424 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:selectedItemsUI() -> axuielementObject |
Type | Method |
Description | Gets the selected items UI. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 346 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:show() -> GeneratorsBrowser |
Type | Method |
Description | Shows the Generators Browser. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 78 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:showAllGenerators() -> GeneratorsBrowser |
Type | Method |
Description | Show All Generators. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 300 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:showAllTitles() -> GeneratorsBrowser |
Type | Method |
Description | Ensures the sidebar is showing in the Generators & Titles panel, focused on all 'Titles'. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 254 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:showGeneratorsCategory(name) -> GeneratorsBrowser |
Type | Method |
Description | Show a specific Generators Category. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 318 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:showInstalledGenerators() -> GeneratorsBrowser |
Type | Method |
Description | Ensures that the browser is showing 'Installed Generators'. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 227 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:showInstalledTitles() -> GeneratorsBrowser |
Type | Method |
Description | Ensures that the browser is showing 'Installed Titles'. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 213 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:showSidebar() -> GeneratorsBrowser |
Type | Method |
Description | Ensures the sidebar is showing in the Generators & Titles panel. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 182 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:showTitlesCategory(name) -> self |
Type | Method |
Description | Ensures the sidebar is showing and that the selected 'Titles' category is selected, if available. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 272 |
Signature | cp.apple.finalcutpro.main.GeneratorsBrowser:topCategoriesUI() -> table |
Type | Method |
Description | Returns an array of the top-level categories in the sidebar. |
Parameters |
|
Returns |
|
Notes | None |
Examples | None |
Source | src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua line 198 |