public final class Dialog extends Object
Modifier and Type | Method and Description |
---|---|
static DialogAction |
showConfirm(Object owner,
String message)
Displays a confirmation dialog using owner and message.
|
static DialogAction |
showConfirm(Object owner,
String message,
String title)
Displays a confirmation dialog using owner, message and title.
|
static DialogAction |
showConfirm(Object owner,
String message,
String title,
DialogOption option)
Displays a confirmation dialog using owner, message, title and option.
|
static void |
showError(Object owner,
String message,
String title,
Throwable thrown)
Displays an error message dialog using owner, message, title and throwable.
|
static void |
showError(Object owner,
String message,
Throwable thrown)
Displays an error message dialog using owner, message and throwable.
|
static void |
showError(Object owner,
Throwable thrown)
Displays an error message dialog using owner and throwable.
|
static String |
showInput(Object owner,
String message)
Displays an input dialog using owner and message.
|
static String |
showInput(Object owner,
String message,
String title)
Displays an input dialog using owner, message and title.
|
static String |
showInput(Object owner,
String message,
String title,
String initial)
Displays an input dialog using owner, message and title.
|
static void |
showMessage(Object owner,
String message)
Displays an information message dialog using owner and message.
|
static void |
showMessage(Object owner,
String message,
String title)
Displays an information message dialog using owner, message and title.
|
static void |
showMessage(Object owner,
String message,
String title,
DialogType type)
Displays an message dialog using owner, message, title and type.
|
public static String showInput(Object owner, String message)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).null
if the user canceled the input.public static String showInput(Object owner, String message, String title)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).title
- the title of the dialog (can be null).null
if the user canceled the input.public static String showInput(Object owner, String message, String title, String initial)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).title
- the title of the dialog (can be null).initial
- the initial value of the input (can be null).null
if the user canceled the input.public static void showMessage(Object owner, String message)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).public static void showMessage(Object owner, String message, String title)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).title
- the title of the dialog (can be null).public static void showMessage(Object owner, String message, String title, DialogType type)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).title
- the title of the dialog (can be null).type
- the type of the dialog (can be null).public static DialogAction showConfirm(Object owner, String message)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).public static DialogAction showConfirm(Object owner, String message, String title)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).title
- the title of the dialog (can be null).public static DialogAction showConfirm(Object owner, String message, String title, DialogOption option)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).title
- the title of the dialog (can be null).option
- the option of the dialog (can be null).public static void showError(Object owner, Throwable thrown)
owner
- determines the owner of the dialog (can be null).thrown
- the error throwable (can be null).public static void showError(Object owner, String message, Throwable thrown)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).thrown
- the error throwable (can be null).public static void showError(Object owner, String message, String title, Throwable thrown)
owner
- determines the owner of the dialog (can be null).message
- the message of the dialog (can be null).title
- the title of the dialog (can be null).thrown
- the error throwable (can be null).Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.