Understanding the Kanji 0.1.5
A tool for understanding the meaning behind the Japanese Kanji characters.
Loading...
Searching...
No Matches
net.samuelcmace.utk.gui.MessageBox Class Reference

Utility class to create and display message boxes to the user (without any logging). More...

Collaboration diagram for net.samuelcmace.utk.gui.MessageBox:
Collaboration graph

Static Public Member Functions

static void ShowInfoDialog (String message)
 Displays a basic modal info dialog.
 
static void ShowInfoDialog (String message, String title)
 Displays a basic modal info dialog with a custom title.
 
static void ShowInfoDialog (String message, String title, String headerContent)
 Displays a basic modal info dialog with a custom title and header content.
 
static void ShowInfoDialog (String message, String title, String headerContent, boolean isModal)
 Displays a basic info dialog with a custom title and header content.
 
static void ShowWarningDialog (String message)
 Displays a basic modal warning dialog.
 
static void ShowWarningDialog (String message, String title)
 Displays a basic warning info dialog with a custom title.
 
static void ShowWarningDialog (String message, String title, String headerContent)
 Displays a basic modal warning dialog with a custom title and header content.
 
static void ShowWarningDialog (String message, String title, String headerContent, boolean isModal)
 Displays a basic warning dialog with a custom title and header content.
 
static void ShowErrorDialog (String message)
 Displays a basic modal error dialog.
 
static void ShowErrorDialog (String message, String title)
 Displays a basic error info dialog with a custom title.
 
static void ShowErrorDialog (String message, String title, String headerContent)
 Displays a basic modal error dialog with a custom title and header content.
 
static void ShowErrorDialog (String message, String title, String headerContent, boolean isModal)
 Displays a basic error dialog with a custom title and header content.
 
static boolean ShowInfoPrompt (String message)
 Displays a basic yes/no prompt to the user.
 

Detailed Description

Utility class to create and display message boxes to the user (without any logging).

Member Function Documentation

◆ ShowErrorDialog() [1/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowErrorDialog ( String  message)
static

Displays a basic modal error dialog.

Parameters
messageThe message to be displayed to the user.

◆ ShowErrorDialog() [2/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowErrorDialog ( String  message,
String  title 
)
static

Displays a basic error info dialog with a custom title.

Parameters
messageThe message to be displayed to the user.
titleThe title of the message box.

◆ ShowErrorDialog() [3/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowErrorDialog ( String  message,
String  title,
String  headerContent 
)
static

Displays a basic modal error dialog with a custom title and header content.

Parameters
messageThe message to be displayed to the user.
titleThe title of the message box.
headerContentThe header content of the message box.

◆ ShowErrorDialog() [4/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowErrorDialog ( String  message,
String  title,
String  headerContent,
boolean  isModal 
)
static

Displays a basic error dialog with a custom title and header content.

Allows non-modal dialogs.

Parameters
messageThe message to be displayed to the user.
titleThe title of the message box.
headerContentThe header content of the message box.
isModalSpecifies whether the message box is modal. The default value is true.

◆ ShowInfoDialog() [1/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowInfoDialog ( String  message)
static

Displays a basic modal info dialog.

Parameters
messageThe message to be displayed to the user.

◆ ShowInfoDialog() [2/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowInfoDialog ( String  message,
String  title 
)
static

Displays a basic modal info dialog with a custom title.

Parameters
messageThe message to be displayed to the user.
titleThe title of the message box.

◆ ShowInfoDialog() [3/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowInfoDialog ( String  message,
String  title,
String  headerContent 
)
static

Displays a basic modal info dialog with a custom title and header content.

Parameters
messageThe message to be displayed to the user.
titleThe title of the message box.
headerContentThe header content of the message box.

◆ ShowInfoDialog() [4/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowInfoDialog ( String  message,
String  title,
String  headerContent,
boolean  isModal 
)
static

Displays a basic info dialog with a custom title and header content.

Allows non-modal dialogs.

Parameters
messageThe message to be displayed to the user.
titleThe title of the message box.
headerContentThe header content of the message box.
isModalSpecifies whether or not the message box is modal. The default value is true.

◆ ShowInfoPrompt()

static boolean net.samuelcmace.utk.gui.MessageBox.ShowInfoPrompt ( String  message)
static

Displays a basic yes/no prompt to the user.

Parameters
messageThe message to be promoted to the user.
Returns
Returns true if the user selected YES, otherwise FALSE.

◆ ShowWarningDialog() [1/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowWarningDialog ( String  message)
static

Displays a basic modal warning dialog.

Parameters
messageThe message to be displayed to the user.

◆ ShowWarningDialog() [2/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowWarningDialog ( String  message,
String  title 
)
static

Displays a basic warning info dialog with a custom title.

Parameters
messageThe message to be displayed to the user.
titleThe title of the message box.

◆ ShowWarningDialog() [3/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowWarningDialog ( String  message,
String  title,
String  headerContent 
)
static

Displays a basic modal warning dialog with a custom title and header content.

Parameters
messageThe message to be displayed to the user.
titleThe title of the message box.
headerContentThe header content of the message box.

◆ ShowWarningDialog() [4/4]

static void net.samuelcmace.utk.gui.MessageBox.ShowWarningDialog ( String  message,
String  title,
String  headerContent,
boolean  isModal 
)
static

Displays a basic warning dialog with a custom title and header content.

Allows non-modal dialogs.

Parameters
messageThe message to be displayed to the user.
titleThe title of the message box.
headerContentThe header content of the message box.
isModalSpecifies whether or not the message box is modal. The default value is true.

The documentation for this class was generated from the following file: