# cp.apple.finalcutpro.inspector.BasePanel

A base class for the different panels in the Inspector.

Extends Element.


# API Overview

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

  • BasePanel

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

  • doShow
  • hide
  • panelType
  • show

# API Documentation

# Constructors

# BasePanel

Signature cp.apple.finalcutpro.inspector.BasePanel(parent, panelType) -> BasePanel
Type Constructor
Description Constructs the panel, initialising the parent and the UI.
Parameters
Returns
  • The new BasePanel instance.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/inspector/BasePanel.lua line 16

# Methods

# doShow

Signature cp.apple.finalcutpro.inspector.BasePanel:doShow() -> cp.rx.go.Statment
Type Method
Description A Statement that hides the panel.
Parameters
  • None
Returns
  • The Statement, resolving to true if successful and sending an error if not.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/inspector/BasePanel.lua line 101

# hide

Signature cp.apple.finalcutpro.inspector.BasePanel:hide() -> none
Type Method
Description Hides the panel.
Parameters
  • None
Returns
  • None
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/inspector/BasePanel.lua line 85

# panelType

Signature cp.apple.finalcutpro.inspector.BasePanel:panelType() -> string
Type Method
Description Gets the type of panel this is.
Parameters
  • None
Returns
  • The panel type identifier.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/inspector/BasePanel.lua line 41

# show

Signature cp.apple.finalcutpro.inspector.BasePanel:show() -> none
Type Method
Description Shows the panel.
Parameters
  • None
Returns
  • None
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/inspector/BasePanel.lua line 54