Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.PopupBox

Class PopupBox

Implemented interfaces:


public class

PopupBox



A factory for common message dialogs.
プログラミング言語 D
プログラミング言語 D
Provides methods to create popup dialogs of type:
- information
- error
- yes/no
- yes/no/cancel
\todo - popup String input dialog

Constructor Summary

Methods Summary
static void information(char message, char title)
          Create an information popup dialog.
static void information(Window parent, char message, char title)
          Create an information popup dialog.
static void information(String message, String title)
          Create an information popup dialog.
static void information(Window parent, String message, String title)
          Create an information popup dialog.
static void error(char message, char title)
          Create an error popup dialog.
static void error(Window parent, char message, char title)
          Create an error popup dialog.
static void error(String message, String title)
          Create an error popup dialog.
static void error(Window parent, String message, String title)
          Create an error popup dialog.
static bit yesNo(char message, char title)
          Create an 'yes' or 'no' popup dialog.
static bit yesNo(Window parent, char message, char title)
          Create an 'yes' or 'no' popup dialog.
static bit yesNo(String message, String title)
          Create an 'yes' or 'no' popup dialog.
static bit yesNo(Window parent, String message, String title)
          Create an 'yes' or 'no' popup dialog.
static Response yesNoCancel(char message, char title)
          Create an 'yes', 'no' or 'cancel' popup dialog.
static Response yesNoCancel(Window parent, char message, char title)
          Create an 'yes', 'no' or 'cancel' popup dialog.
static Response yesNoCancel(String message, String title)
          Create an 'yes', 'no' or 'cancel' popup dialog.
static Response yesNoCancel(Window parent, String message, String title)
          Create an 'yes', 'no' or 'cancel' popup dialog.


information

static void information(char message, char title)
Create an information popup dialog.

Parameters:
message - The message to show on the dialog
title - The title of the dialog

information

static void information(Window parent, char message, char title)
Create an information popup dialog.

Parameters:
parent - The parent window of this popup dialog
message - The message to show on the dialog
title - The title of the dialog

information

static void information(String message, String title)
Create an information popup dialog.

Parameters:
message - The message to show on the dialog
title - The title of the dialog

information

static void information(Window parent, String message, String title)
Create an information popup dialog.

Parameters:
parent - The parent window of this popup dialog
message - The message to show on the dialog
title - The title of the dialog

error

static void error(char message, char title)
Create an error popup dialog.

Parameters:
message - The message to show on the dialog
title - The title of the dialog

error

static void error(Window parent, char message, char title)
Create an error popup dialog.

Parameters:
parent - The parent window of this popup dialog
message - The message to show on the dialog
title - The title of the dialog

error

static void error(String message, String title)
Create an error popup dialog.

Parameters:
message - The message to show on the dialog
title - The title of the dialog

error

static void error(Window parent, String message, String title)
Create an error popup dialog.

Parameters:
parent - The parent window of this popup dialog
message - The message to show on the dialog
title - The title of the dialog

yesNo

static bit yesNo(char message, char title)
Create an 'yes' or 'no' popup dialog.

Parameters:
message - The message to show on the dialog
title - The title of the dialog

yesNo

static bit yesNo(Window parent, char message, char title)
Create an 'yes' or 'no' popup dialog.

Parameters:
parent - The parent window of this popup dialog
message - The message to show on the dialog
title - The title of the dialog

yesNo

static bit yesNo(String message, String title)
Create an 'yes' or 'no' popup dialog.

Parameters:
message - The message to show on the dialog
title - The title of the dialog

yesNo

static bit yesNo(Window parent, String message, String title)
Create an 'yes' or 'no' popup dialog.

Parameters:
parent - The parent window of this popup dialog
message - The message to show on the dialog
title - The title of the dialog

yesNoCancel

static Response yesNoCancel(char message, char title)
Create an 'yes', 'no' or 'cancel' popup dialog.

Parameters:
message - The message to show on the dialog
title - The title of the dialog

yesNoCancel

static Response yesNoCancel(Window parent, char message, char title)
Create an 'yes', 'no' or 'cancel' popup dialog.

Parameters:
parent - The parent window of this popup dialog
message - The message to show on the dialog
title - The title of the dialog

yesNoCancel

static Response yesNoCancel(String message, String title)
Create an 'yes', 'no' or 'cancel' popup dialog.

Parameters:
message - The message to show on the dialog
title - The title of the dialog

yesNoCancel

static Response yesNoCancel(Window parent, String message, String title)
Create an 'yes', 'no' or 'cancel' popup dialog.

Parameters:
parent - The parent window of this popup dialog
message - The message to show on the dialog
title - The title of the dialog