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.
Constructor

# new DuAELayerPickerDialog()

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.

View Source DuAEF.jsxinc, line 18628

Methods

# static addSelector() → {DuAELayerSelector}

Adds a new line on the DuAELayerPicker This is a convenience function equivalent to DuAELayerPickerDialog.layerPicker.addSelector.

View Source DuAEF.jsxinc, line 18649

The added DuAELayerSelector

# static getLayers() → {Array.<Layer>}

Gets the layers picked by the user.

View Source DuAEF.jsxinc, line 18658

The layers picked (null if the user has set none in the selector), in the display order.
Array.<Layer>

# static removeAll()

Empties the DuAELayerPicker
This is a convenience function equivalent to DuAELayerPickerDialog.layerPicker.removeAll.

View Source DuAEF.jsxinc, line 18641

Type Definitions

# onAccept()

The function called when the dialog is accepted.

View Source DuAEF.jsxinc, line 18666