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/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7715
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.
onApplySettings 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/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7741
Adds some settings common to all scripts (the file, highlight color, languages...)

inherited refreshUi(file){boolean}

D:/DEV_SRC/RxOT/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7240
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/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7729
The function to execute when the apply settings button is clicked.

onResetSettings()

D:/DEV_SRC/RxOT/DuAEF/DuESF/tools/build/output/DuESF.jsxinc, line 7735
The function to execute when the reset settings button is clicked.