Class: DuScriptPanel

DuScriptPanel

For use with DuScriptUI.
A Panel or Window.
This is not a real class, and cannot be instanciated.
Use DuScriptUI.scriptPanel to create a Panel.

new DuScriptPanel()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 8303
Properties:
Name Type Description
settingsGroup Group The ScriptUI group where to add the UI for the settings of the script.
mainGroup Group The ScriptUI group where to add the main UI of the script.
onApplySettings DuScriptPanel~onApplySettings Called when the apply settings button is clicked.
onResetSettings DuScriptPanel~onResetSettings Called when the reset (default) settings button is clicked.

Extends

Members

contentGroup

The ScriptUI group where the new controls must be added. Do not add any control directly inside the DuPanel.

Methods

addCommonSettings()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 8329
Adds some settings common to all scripts (the file, highlight color, languages...)

inherited refreshUi(file){boolean}

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 7850
A function to reload a script in this panel.
Name Type Description
file File The script to reload.
Returns:
Type Description
boolean true on success, false otherwise.

Type Definitions

onApplySettings()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 8317
The function to execute when the apply settings button is clicked.

onResetSettings()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 8323
The function to execute when the reset settings button is clicked.