#include "../jnilib.h"
#include "../awt/frame.h"
Include dependency graph for messagebox.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
| Defines | |
| #define | CLS_MESSAGEBOX "javax/swing/JOptionPane" | 
| Defines the full name of the CBWindowListener-Class. | |
| #define | MSGBOX_CANCEL getStaticIntFieldByName(CLS_MESSAGEBOX, "CANCEL_OPTION") | 
| #define | MSGBOX_CLOSED getStaticIntFieldByName(CLS_MESSAGEBOX, "CLOSED_OPTION") | 
| #define | MSGBOX_NO getStaticIntFieldByName(CLS_MESSAGEBOX, "NO_OPTION") | 
| #define | MSGBOX_OK getStaticIntFieldByName(CLS_MESSAGEBOX, "OK_OPTION") | 
| #define | MSGBOX_YES getStaticIntFieldByName(CLS_MESSAGEBOX, "YES_OPTION") | 
| Functions | |
| jint | showConfirmDialog (const char *msg) | 
| Displays a dialog with a message an the buttons "Yes", "No", "Cancel". | |
| char * | showInputDialog (const char *msg, const char *defaultValue) | 
| Displays a dialog which requests user input. | |
| void | showMessageDialog (const char *msg) | 
| Displays a dialog with the message. | |
| jint | showModalConfirmDialog (Frame *frame, const char *msg) | 
| Displays a modal dialog with a message an the buttons "Yes", "No", "Cancel". | |
| char * | showModalInputDialog (Frame *frame, const char *msg, const char *defaultValue) | 
| Displays a modal dialog which requests user input. | |
| void | showModalMessageDialog (Frame *frame, const char *msg) | 
| Displays a modal dialog with the message. | |
The Messagebox provides an easy way to interact with an user. You can show the user an information, ask him/her to decide what he/she wants to do or request some input. The Messagebox can be displayed modal on a frame.
Definition in file messagebox.h.
| 
 | 
| Defines the full name of the CBWindowListener-Class. 
 Definition at line 24 of file messagebox.h. | 
| 
 | 
| 
 Definition at line 29 of file messagebox.h. | 
| 
 | 
| 
 Definition at line 30 of file messagebox.h. | 
| 
 | 
| 
 Definition at line 28 of file messagebox.h. | 
| 
 | 
| 
 Definition at line 26 of file messagebox.h. | 
| 
 | 
| 
 Definition at line 27 of file messagebox.h. | 
| 
 | 
| Displays a dialog with a message an the buttons "Yes", "No", "Cancel". 
 
 
 Definition at line 76 of file messagebox.c. | 
| 
 | ||||||||||||
| Displays a dialog which requests user input. 
 
 
 Definition at line 130 of file messagebox.c. | 
| 
 | 
| Displays a dialog with the message. 
 
 Definition at line 169 of file messagebox.c. | 
| 
 | ||||||||||||
| Displays a modal dialog with a message an the buttons "Yes", "No", "Cancel". 
 
 
 
 Definition at line 44 of file messagebox.c. | 
| 
 | ||||||||||||||||
| Displays a modal dialog which requests user input. 
 
 
 Definition at line 91 of file messagebox.c. | 
| 
 | ||||||||||||
| Displays a modal dialog with the message. 
 
 
 Definition at line 142 of file messagebox.c. | 
 1.4.4
 1.4.4