public class GGMessageBox
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
GGMessageBox.ButtonHit
Enum to define the button hit reponses. 
 | 
static class  | 
GGMessageBox.ButtonLayout
Enum to define the layout of the buttons. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static GGMessageBox.ButtonLayout | 
ABORT_RETRY_IGNORE
Acronym for ButtonLayout.ABORT_RETRY_IGNORE. 
 | 
static GGMessageBox.ButtonHit | 
MB_ABORT
Acronym for ButtonHit.ABORT. 
 | 
static GGMessageBox.ButtonHit | 
MB_CANCEL
Acronym for ButtonHit.CANCEL. 
 | 
static GGMessageBox.ButtonHit | 
MB_IGNORE
Acronym for ButtonHit.IGNORE. 
 | 
static GGMessageBox.ButtonHit | 
MB_NO
Acronym for ButtonHit.MB_NO. 
 | 
static GGMessageBox.ButtonHit | 
MB_OK
Acronym for ButtonHit.MB_OK. 
 | 
static GGMessageBox.ButtonHit | 
MB_RETRY
Acronym for ButtonHit.RETRY. 
 | 
static GGMessageBox.ButtonHit | 
MB_YES
Acronym for ButtonHit.YES. 
 | 
static GGMessageBox.ButtonLayout | 
OK
Acronym for ButtonLayout.OK. 
 | 
static GGMessageBox.ButtonLayout | 
OK_CANCEL
Acronym for ButtonLayout.OK_CANCEL. 
 | 
static GGMessageBox.ButtonLayout | 
RETRY_CANCEL
Acronym for ButtonLayout.RETRY_ CANCEL. 
 | 
static GGMessageBox.ButtonLayout | 
YES_NO
Acronym for ButtonLayout.YES_NO. 
 | 
static GGMessageBox.ButtonLayout | 
YES_NO_CANCEL
Acronym for ButtonLayout.YES_NO_ CANCEL. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static GGMessageBox.ButtonHit | 
show(java.lang.String title,
    java.lang.String message,
    GGMessageBox.ButtonLayout ButtonLayout)
Shows the modal dialog and blocks the current thread until
 the user hits one of the buttons. 
 | 
public static GGMessageBox.ButtonLayout OK
public static GGMessageBox.ButtonLayout ABORT_RETRY_IGNORE
public static GGMessageBox.ButtonLayout OK_CANCEL
public static GGMessageBox.ButtonLayout RETRY_CANCEL
public static GGMessageBox.ButtonLayout YES_NO
public static GGMessageBox.ButtonLayout YES_NO_CANCEL
public static GGMessageBox.ButtonHit MB_OK
public static GGMessageBox.ButtonHit MB_NO
public static GGMessageBox.ButtonHit MB_YES
public static GGMessageBox.ButtonHit MB_ABORT
public static GGMessageBox.ButtonHit MB_RETRY
public static GGMessageBox.ButtonHit MB_IGNORE
public static GGMessageBox.ButtonHit MB_CANCEL
public static GGMessageBox.ButtonHit show(java.lang.String title, java.lang.String message, GGMessageBox.ButtonLayout ButtonLayout)
title - the title in the header of the message boxmessage - the message shown (may be multiline, lines separated by \n)ButtonLayout - one of the enumerations of ButtonLayout to define the arrangement of the buttons