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 box. To provide support for sendMsg(), the ODKConstant interface provides the user-response-dialog constants listed in Table 100. All user-response-dialog constants are of type integer (int).

Table 100. 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 box
MSG_OKCANCEL
Specifies the display of the OK and Cancel buttons on the user-response dialog box
MSG_RETRYCANCEL
Specifies the display of the Retry and Cancel buttons on the user-response dialog box
MSG_ABORTRETRYIGNORE
Specifies the display of the Retry, Ignore, and Abort buttons on the user-response dialog box
MSG_YESNO
Specifies the display of the Yes and No buttons on the user-response dialog box
MSG_YESNOCANCEL
Specifies the display of the Yes, No, and Cancel buttons on the user-response dialog box
dialog-icon constants
MSG_ERROR
Specifies that the user-response dialog box displays the error icon
MSG_CRITIALERROR
Specifies that the user-response dialog box displays the critical-error icon
MSG_WARNING
Specifies that the user-response dialog box displays the warning icon
MSG_INFORMATION
Specifies that the user-response dialog box displays the information icon
MSG_QUESTION
Specifies that the user-response dialog box displays the question-mark icon
User-response constants
ODK_OK
Specifies the OK button on the user-response dialog box
ODK_CANCEL
Specifies the Cancel button on the user-response dialog box
ODK_RETRY
Specifies the Retry button on the user-response dialog box
ODK_IGNORE
Specifies the Ignore button on the user-response dialog box
ODK_ABORT
Specifies the Abort button on the user-response dialog box
ODK_YES
Specifies the Yes button on the user-response dialog box
ODK_NO
Specifies the No button on the user-response dialog box
ODK_CLOSE
Specifies the Close button on the user-response dialog box
ODK_HELP
Specifies the Help button on the user-response dialog box

Copyright IBM Corp. 2004, 2005