docs » cp.apple.finalcutpro.timeline.Role
Extends Row
Represents a Role in the Timeline Index.
- Constants - Useful values which cannot be changed
- TITLE_KEY
- TYPE
- Functions - API calls offered directly by the extension
- findTitle
- is
- matches
- Constructors - API calls which return an object, typically one that offers API methods
- Role
- Fields - Variables which can only be accessed from an object returned by a constructor
- active
- cellUI
- subroleRow
- title
- Methods - API calls which can only be made on an object returned by a constructor
- doActivate
- doDeactivate
- type
Signature | cp.apple.finalcutpro.timeline.Role.TITLE_KEY <table> |
---|---|
Type | Constant |
Description | Contains the list of strings used for default roles. |
Notes |
|
Signature | cp.apple.finalcutpro.timeline.Role.TYPE <table> |
---|---|
Type | Constant |
Description | Contains the set of role types. |
Notes |
|
Signature | cp.apple.finalcutpro.timeline.Role.findTitle(title) -> string |
---|---|
Type | Function |
Description | Checks if FCPX is not currently running in English, it will check if the title is one |
Signature | cp.apple.finalcutpro.timeline.Role.is(thing) -> boolean |
---|---|
Type | Function |
Description | Checks if the thing is a Role . |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.timeline.Role.matches(element) -> boolean |
---|---|
Type | Function |
Description | Checks if the element is a Role . |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.timeline.Role(parent, uiFinder, type) |
---|---|
Type | Constructor |
Description | Creates the new Role. Typically this is not called directly, but rather by one of the |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.timeline.Role.active <cp.ui.CheckBox> |
---|---|
Type | Field |
Description | The CheckBox that determines if the Role is active in the timeline. |
Signature | cp.apple.finalcutpro.timeline.Role.cellUI <cp.prop: axuielement; read-only> |
---|---|
Type | Field |
Description | The AXCell axuielement containing the Role details. |
Signature | cp.apple.finalcutpro.timeline.Role.subroleRow <cp.prop: boolean; read-only> |
---|---|
Type | Field |
Description | This is true if the Role is an Subrole Row. |
Signature | cp.apple.finalcutpro.timeline.Role.title <cp.ui.StaticText> |
---|---|
Type | Field |
Description | The StaticText containing the title. |
Signature | cp.apple.finalcutpro.timeline.Role:doActivate() -> cp.rx.go.Statement.md |
---|---|
Type | Method |
Description | A Statement that will activate the current role, if possible. |
Signature | cp.apple.finalcutpro.timeline.Role:doDeactivate() -> cp.rx.go.Statement.md |
---|---|
Type | Method |
Description | A Statement that will deactivate the current role, if possible. |
Signature | cp.apple.finalcutpro.timeline.Role:type() -> cp.apple.finalcut.timeline.Role.TYPE |
---|---|
Type | Method |
Description | Returns the type of Role this is. |