Name

setOptions — This script will display a menu listing the BeanShell variables that were specified in the input list.

Overview

This script will display a menu listing the BeanShell variables that were specified in the input list. The menu will allow the review and modification of the variable values. The control also shows an 'Ok' and 'Cancel' button. If the 'Ok' button is pressed then the control displays a text file having the current settings, and then the method returns 'true'. If the 'Cancel' button is pressed then the control returns false.

Syntax

boolean setOptions ( Object [ ] options ) 

The command has the following arguments:

options

An array of objects. These objects are usually simple data types such as numbers, boolean values, and strings.

Description

Display a menu and allow edits to the variables.

Return value

true if the 'Ok' button has been pressed, false if the Cancel button has been pressed.