Manager for the CommandPost Preferences Window.
Constants - Useful values which cannot be changed
​DEFAULT_HEIGHT​
​DEFAULT_TITLE​
​DEFAULT_WIDTH​
​DEFAULT_WINDOW_STYLE​
​lastTab​
​position​
​WEBVIEW_LABEL​
Functions - API calls offered directly by the extension
​addHandler​
​addPanel​
​focus​
​getHandler​
​getLabel​
​getWebview​
​hide​
​init​
​injectScript​
​maxPanelHeight​
​new​
​refresh​
​selectPanel​
​setPanelRenderer​
​show​
Signature |
|
Type | Constant |
Description | Default Height of Preferences Window |
Signature |
|
Type | Constant |
Description | Default Title of Preferences Window |
Signature |
|
Type | Constant |
Description | Default Width of Preferences Window |
Signature |
|
Type | Constant |
Description | Default Webview Window Style of Preferences Window |
Signature |
|
Type | Constant |
Description | Returns the last tab saved in settings. |
Signature |
|
Type | Constant |
Description | Returns the last frame saved in settings. |
Signature |
|
Type | Constant |
Description | The WebView Label |
Signature |
|
Type | Variable |
Description | Table containing handlers. |
Signature |
|
Type | Variable |
Description | Table containing panels. |
Signature |
|
Type | Function |
Description | Adds a Handler |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Adds a new panel with the specified |
Parameters | ​ |
Returns | ​ |
Notes | ​ |
Signature |
|
Type | Function |
Description | Puts focus on the Preferences Window. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Returns the handler for a given ID. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Returns the Webview label. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Returns the Webview of the Preferences Window. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Hides the Preferences Window. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Initialises the preferences panel. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Injects JavaScript into the Preferences Webview. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Returns the maximum size defined by a panel. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Creates a new Preferences Window. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Refreshes the Preferences Window. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Selects a Preferences Panel. |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Sets a Panel Renderer |
Parameters | ​ |
Returns | ​ |
Signature |
|
Type | Function |
Description | Shows the Preferences Window |
Parameters | ​ |
Returns | ​ |