Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
61 lines (49 loc) · 4.41 KB

cp.apple.finalcutpro.inspector.BasePanel.md

File metadata and controls

61 lines (49 loc) · 4.41 KB

docs » 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

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.

Methods

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.
Signature cp.apple.finalcutpro.inspector.BasePanel:hide() -> none
Type Method
Description Hides the panel.
Parameters
  • None
Returns
  • None
Signature cp.apple.finalcutpro.inspector.BasePanel:panelType() -> string
Type Method
Description Gets the type of panel this is.
Returns
  • The panel type identifier.
Signature cp.apple.finalcutpro.inspector.BasePanel:show() -> none
Type Method
Description Shows the panel.
Parameters
  • None
Returns
  • None