Class: DuAELayerPickerDialog

DuAELayerPickerDialog

For use with DuScriptUI.
A picker for layers with labels.
This is not a real class, and cannot be instanciated.
Use DuScriptUI.layerPickerDialog to create a picker.
The picker inherits the Group object from ScriptUI and has all of its properties and methods.

new DuAELayerPickerDialog()

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16429
Properties:
Name Type Description
layerPicker DuAELayerPicker The layer picker inside the dialog.
accepted bool This property is true if the user has clicked the OK button, false otherwise.

Methods

staticDuAELayerPickerDialog.addSelector(){DuAELayerSelector}

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16449
Adds a new line on the DuAELayerPicker This is a convenience function equivalent to DuAELayerPickerDialog.layerPicker.addSelector.
Returns:
Type Description
DuAELayerSelector The added DuAELayerSelector

staticDuAELayerPickerDialog.getLayers(){Array.<Layer>}

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16458
Gets the layers picked by the user.
Returns:
Type Description
Array.<Layer> The layers picked (null if the user has set none in the selector), in the display order.

staticDuAELayerPickerDialog.removeAll()

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16441
Empties the DuAELayerPicker
This is a convenience function equivalent to DuAELayerPickerDialog.layerPicker.removeAll.

Type Definitions

onAccept()

D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16466
The function called when the dialog is accepted.