The ENVIParameterUI class is the base class of all user interface (UI) classes. Use UI classes to create dialogs where users can fill in values for task parameters before executing the task. ENVI and IDL provide a wide variety of UI classes that inherit from ENVIParameterUI, and you as a programmer must also inherit from it when creating custom UI classes.

Properties


TITLE (Get, Set)

Set this property to a string that will be displayed to the left of the parameter UI only if the UI object is part of an IDLContainer_UI set.

UVALUE (Get, Set)

Set this property to an IDL variable of any data type.

CALLBACK_OBJECT (Set)

Set this property to a string with the name of an ENVI method that will be invoked when the parameter value is changed by the user. This property must be set in conjuction with CALLBACK_METHOD.

CALLBACK_METHOD (Set)

Set this property to an object reference that will be invoked when the parameter value is changed by the user. This property must be set in conjuction with CALLBACK_OBJECT. The callback method must accept a single argument, which will be the UI object that was just updated.

CALLBACK_ROUTINE (Set)

Set this property to a string with the name of an ENVI procedure that will be invoked when the parameter value is changed by the user. The callback procedure must accept a single argument, which will be the UI object that was just updated.

CALLBACK_FUNCTION (Set)

Set this property to a string with the name of an ENVI function that will be invoked when the parameter value is changed by the user. The callback function must accept a single argument, which will be the UI object that was just updated.

Methods


This class has the following methods that can be overriden in your custom classes to provide the desired behavior.

BuildUI

GetValue

SetValue

Version History


ENVI 5.6

Introduced

API Version


4.2

See Also


Custom User Interface Classes, User Interface Elements