docs » cp.apple.finalcutpro.inspector.color.ColorBoard
Color Board Module.
- Constants - Useful values which cannot be changed
- aspect
- Variables - Configurable values
- currentAspect
- Functions - API calls offered directly by the extension
- matches
- Constructors - API calls which return an object, typically one that offers API methods
- ColorBoard
- Fields - Variables which can only be accessed from an object returned by a constructor
- aspectGroup
- color
- contentUI
- exposure
- isActive
- isShowing
- saturation
- Methods - API calls which can only be made on an object returned by a constructor
- childUI
- current
- doHide
- doNextAspect
- doResetCurrent
- doSelectAspect
- doShow
- hide
- nextAspect
- reset
- show
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard.aspect -> table |
---|---|
Type | Constant |
Description | A table containing tables of all the aspect panel settings |
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard.currentAspect -> string |
---|---|
Type | Variable |
Description | The current aspect as a string. |
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard.matches(element) -> boolean |
---|---|
Type | Function |
Description | Checks to see if a GUI element is the Color Board. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard(parent) -> ColorBoard object |
---|---|
Type | Constructor |
Description | Creates a new ColorBoard object |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard.aspectGroup <cp.ui.RadioGroup> |
---|---|
Type | Field |
Description | The RadioGroup for the 'aspect' currently being controlled |
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard.color <ColorBoardAspect> |
---|---|
Type | Field |
Description | The color aspect of the color board. |
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard.contentUI <cp.prop: hs._asm.axuielement; read-only; live> |
---|---|
Type | Field |
Description | Returns the hs._asm.axuielement object for the Color Board's content. |
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard.exposure <ColorBoardAspect> |
---|---|
Type | Field |
Description | The exposure aspect of the color board. |
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:isActive <cp.prop: boolean; read-only> |
---|---|
Type | Field |
Description | Returns whether or not the Color Board is active |
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard.isShowing <cp.prop: boolean; read-only; live> |
---|---|
Type | Field |
Description | Returns whether or not the Color Board is visible. |
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard.saturation <ColorBoardAspect> |
---|---|
Type | Field |
Description | The saturation aspect of the color board. |
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:childUI(id) -> hs._asm.axuielement object |
---|---|
Type | Method |
Description | Gets the hs._asm.axuielement object for a child with the specified ID. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:current() -> ColorBoardAspect |
---|---|
Type | Method |
Description | Returns the currently-selected 'aspect' of the Color Board - either the color , saturation or exposure . |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:doHide() -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement that hides the Color Board. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:doNextAspect() -> cp.rx.go.Statement<boolean> |
---|---|
Type | Method |
Description | A Statement that toggles the Color Board Panels between "Color", "Saturation" and "Exposure". |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:doResetCurrent([range]) -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement that will reset the current 'active' aspect (e.g. color ) in the Color Board. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:doSelectAspect(index) -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement that will attempt to select the specified aspect index . |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:doShow() -> cp.rx.go.Statement |
---|---|
Type | Method |
Description | A Statement that shows the Color Board. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:hide() -> self |
---|---|
Type | Method |
Description | Hides the Color Board |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:nextAspect() -> ColorBoard object |
---|---|
Type | Method |
Description | Toggles the Color Board Panels between "Color", "Saturation" and "Exposure" |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:reset() -> self |
---|---|
Type | Method |
Description | Resets the current aspect. |
Parameters |
|
Returns |
|
Signature | cp.apple.finalcutpro.inspector.color.ColorBoard:show() -> ColorBoard object |
---|---|
Type | Method |
Description | Shows the Color Board |
Parameters |
|
Returns |
|