docs » plugins.core.setup.panel
CommandPost Setup Window Panel.
- Constants - Useful values which cannot be changed
- WEBVIEW_LABEL
- Functions - API calls offered directly by the extension
- panelCount
- panelNumber
- panelQueue
- Constructors - API calls which return an object, typically one that offers API methods
- new
- Methods - API calls which can only be made on an object returned by a constructor
- addButton
- addCheckbox
- addContent
- addFooter
- addHandler
- addHeading
- addIcon
- addParagraph
- addPassword
- addSelect
- addSubHeading
- addTextbox
- getHandler
| Signature | plugins.core.setup.panel.WEBVIEW_LABEL -> string |
|---|---|
| Type | Constant |
| Description | The ID for the Webview |
| Signature | plugins.core.setup.panelCount() -> number |
|---|---|
| Type | Function |
| Description | The number of panels currently being processed in this session. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panelNumber() -> number |
|---|---|
| Type | Function |
| Description | The number of the panel currently being viewed. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panelQueue() -> table of panels |
|---|---|
| Type | Function |
| Description | The table of panels remaining to be processed. Panels are removed from the queue |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel.new(id, priority) -> plugins.core.setup.panel |
|---|---|
| Type | Constructor |
| Description | Constructs a new panel with the specified priority and ID. |
| Parameters |
|
| Signature | plugins.core.setup.panel:addButton(params) -> panel |
|---|---|
| Type | Method |
| Description | Adds a button to the panel. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Signature | plugins.core.setup.panel:addCheckbox(params) -> panel |
|---|---|
| Type | Method |
| Description | Adds a checkbox to the panel with the specified priority and params. |
| Parameters |
|
| Returns |
|
| Notes |
|
| Signature | plugins.core.setup.panel:addContent(content[, escaped]) -> panel |
|---|---|
| Type | Method |
| Description | Adds the specified content to the panel. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:addFooter(content, unescaped) -> panel |
|---|---|
| Type | Method |
| Description | Adds the specified content to the panel's footer. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:addHandler(event, id, handlerFn, keys) -> none |
|---|---|
| Type | Method |
| Description | Gets a handler from an Handler ID |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:addHeading(text) -> panel |
|---|---|
| Type | Method |
| Description | Adds a heading to the panel |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:addIcon(src) -> panel |
|---|---|
| Type | Method |
| Description | Adds an icon to the panel. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:addParagraph(content[, escaped[, class]]) -> panel |
|---|---|
| Type | Method |
| Description | Adds a Paragraph to the panel |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:addPassword(params) -> panel |
|---|---|
| Type | Method |
| Description | Adds a password text-box to the panel. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:addSelect(params) -> panel |
|---|---|
| Type | Method |
| Description | Adds a select to the panel. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:addSubHeading(text) -> panel |
|---|---|
| Type | Method |
| Description | Adds a sub-heading to the panel |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:addTextbox(params) -> panel |
|---|---|
| Type | Method |
| Description | Adds a text-box to the panel |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.setup.panel:getHandler(id) -> handler |
|---|---|
| Type | Method |
| Description | Gets a handler from an Handler ID |
| Parameters |
|
| Returns |
|