#cp.apple.finalcutpro.inspector.color.ValueIndicator

ValueIndicator Module.


#API Overview

Functions - API calls offered directly by the extension

Constructors - API calls which return an object, typically one that offers API methods

Methods - API calls which can only be made on an object returned by a constructor


#API Documentation

#Functions

Signaturecp.apple.finalcutpro.inspector.color.ValueIndicator.matches(element) -> boolean
TypeFunction
DescriptionChecks to see if an element matches what we think it should be.
Parameters
  • element - An axuielementObject to check.
Returns
  • true if matches otherwise false
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/inspector/color/ValueIndicator.lua line 14

#Constructors

Signaturecp.apple.finalcutpro.inspector.color.ValueIndicator(parent, uiFinder, minValue, maxValue, toAXValueFn, fromAXValueFn) -> ValueIndicator
TypeConstructor
DescriptionCreates a new ValueIndicator.
Parameters
  • parent - The parent table.
  • uiFinder - The function which returns the axuielement.
  • minValue - The minimum value allowed for the value.
  • maxValue - The maximum value allowed for the value.
  • toAXValueFn - The function which will convert the user value to the actual AXValue.
  • fromAXValueFn - The function which will convert the current AXValue to a user value.
Returns
  • New ValueIndicator instance.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/inspector/color/ValueIndicator.lua line 27

#Methods

Signaturecp.apple.finalcutpro.inspector.color.ValueIndicator:decrement() -> cp.apple.finalcutpro.inspector.color.ValueIndicator
TypeMethod
DescriptionDecrements the value indicator.
Parameters
  • None
Returns
  • The cp.apple.finalcutpro.inspector.color.ValueIndicator object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/inspector/color/ValueIndicator.lua line 145

Signaturecp.apple.finalcutpro.inspector.color.ValueIndicator:increment() -> cp.apple.finalcutpro.inspector.color.ValueIndicator
TypeMethod
DescriptionIncrements the value indicator.
Parameters
  • None
Returns
  • The cp.apple.finalcutpro.inspector.color.ValueIndicator object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/inspector/color/ValueIndicator.lua line 128

Signaturecp.apple.finalcutpro.inspector.color.ValueIndicator:isShowing() -> boolean
TypeMethod
DescriptionIs the Value Indicator currently showing?
Parameters
  • None
Returns
  • true if showing, otherwise false
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/inspector/color/ValueIndicator.lua line 50

Signaturecp.apple.finalcutpro.inspector.color.ValueIndicator:loadLayout(layout) -> none
TypeMethod
DescriptionLoads a layout.
Parameters
  • layout - The layout table you want to load.
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/inspector/color/ValueIndicator.lua line 177

Signaturecp.apple.finalcutpro.inspector.color.ValueIndicator:saveLayout() -> table
TypeMethod
DescriptionSaves the layout.
Parameters
  • None
Returns
  • A table containing the layout.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/inspector/color/ValueIndicator.lua line 162

Signaturecp.apple.finalcutpro.inspector.color.ValueIndicator:shiftValue(value) -> cp.apple.finalcutpro.inspector.color.ValueIndicator
TypeMethod
DescriptionShifts the Value Indicator value.
Parameters
  • value - The amount to shift the value indicator by as a number.
Returns
  • The cp.apple.finalcutpro.inspector.color.ValueIndicator object.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/apple/finalcutpro/inspector/color/ValueIndicator.lua line 91