Class: DialogReturnClass

DialogReturnClass

Holds the last used action type (see ActionTypeClass) and the return value of dialogs and popups. This class has a global variable: DialogReturn

Constructor

new DialogReturnClass(actionType, returnValue)

Creates a dialog return.
Parameters:
Name Type Description
actionType int The action type value of the last dialog or popup.
returnValue int The return value of the last dialog or popup.
Author:
  • Patrick Siegmund
Source:

Methods

getActionType() → {int}

Gets the action type of the last dialog.
Source:
Returns:
The last action type.
Type
int

getReturnValue() → {int}

Gets the return value of the last dialog.
Source:
Returns:
The last return value.
Type
int