User-response-dialog constants

The sendMsg() method, defined in the ODKUtility class, provides the ODA developer with a means to display a user-response dialog. To provide support for sendMsg(), the ODKConstant interface provides the user-response-dialog constants listed in Table 95. All user-response-dialog constants are of type integer (int).

Table 95. User-response-dialog constants of the ODKConstant interface.

User-response-dialog constant Description
Dialog-button constants

MSG_OK


Specifies the display of the OK button on the user-response dialog

MSG_OKCANCEL


Specifies the display of the OK and Cancel buttons on the user-response dialog

MSG_RETRYCANCEL


Specifies the display of the Retry and Cancel buttons on the user-response dialog

MSG_ABORTRETRYIGNORE


Specifies the display of the Retry, Ignore, and Abort buttons on the user-response dialog

MSG_YESNO


Specifies the display of the Yes and No buttons on the user-response dialog

MSG_YESNOCANCEL


Specifies the display of the Yes, No, and Cancel buttons on the user-response dialog
Dialog-icon constants

MSG_ERROR


Specifies that the user-response dialog displays the error icon

MSG_CRITIALERROR


Specifies that the user-response dialog displays the critical-error icon

MSG_WARNING


Specifies that the user-response dialog displays the warning icon

MSG_INFORMATION


Specifies that the user-response dialog displays the information icon

MSG_QUESTION


Specifies that the user-response dialog displays the question-mark icon
User-response constants

ODK_OK


Specifies the OK button on the user-response dialog

ODK_CANCEL


Specifies the Cancel button on the user-response dialog

ODK_RETRY


Specifies the Retry button on the user-response dialog

ODK_IGNORE


Specifies the Ignore button on the user-response dialog

ODK_ABORT


Specifies the Abort button on the user-response dialog

ODK_YES


Specifies the Yes button on the user-response dialog

ODK_NO


Specifies the No button on the user-response dialog

ODK_CLOSE


Specifies the Close button on the user-response dialog

ODK_HELP


Specifies the Help button on the user-response dialog

Copyright IBM Corp. 1997, 2003