|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMockCentralDialogFactory
Interface for classes used to display various dialogs for the application.
| Field Summary | |
|---|---|
static int |
CANCEL_OPTION
A constant identifying a cancel response to a dialog |
static int |
ERROR_IMAGE
Constant identifying an error dialog image to be shown. |
static int |
INFO_IMAGE
Constant identifying an information dialog image to be shown. |
static int |
NO_OPTION
A constant identifying a no response to a dialog |
static int |
WARNING_IMAGE
Constant identifying a warning dialog image to be shown. |
static int |
YES_OPTION
A constant identifying a yes response to a dialog |
| Method Summary | |
|---|---|
IMockCentralDialog |
getMockCentralDialog(MockCentralDialogType type,
java.lang.Object... args)
Returns an IMockCentralDialog created using the specified
MockCentralDialogType value and the supplied varargs. |
int |
showConfirmDialog(java.lang.String title,
java.lang.String message)
Displays a confirmation dialog constructed with the parameter values, returning the user's response. |
java.lang.String |
showInputDialog(java.lang.String title,
java.lang.String message,
java.lang.String defaultValue,
IMockCentralDialogInputValidator validator)
Invoked to display an input dialog constructed with the parameter values, returning the user's response. |
void |
showMessageDialog(java.lang.String title,
java.lang.String message)
Displays a message dialog. |
void |
showMessageDialog(java.lang.String title,
java.lang.String message,
int dialogImageType)
Displays a confirmation dialog constructed with the parameter values. |
| Field Detail |
|---|
static final int ERROR_IMAGE
static final int INFO_IMAGE
static final int WARNING_IMAGE
static final int YES_OPTION
static final int NO_OPTION
static final int CANCEL_OPTION
| Method Detail |
|---|
void showMessageDialog(java.lang.String title,
java.lang.String message,
int dialogImageType)
title - the dialog title to display.message - the dialog message to display.dialogImageType - an int specifying the dialog image to display.
void showMessageDialog(java.lang.String title,
java.lang.String message)
title - the dialog title to display.message - the dialog message to display.
int showConfirmDialog(java.lang.String title,
java.lang.String message)
IMockCentralEditor interface.
title - a title for the dialog.message - the confirmation message.
java.lang.String showInputDialog(java.lang.String title,
java.lang.String message,
java.lang.String defaultValue,
IMockCentralDialogInputValidator validator)
title - the dialog title.message - the input message.defaultValue - the default value for the input.validator - the IMockCentralDialogInputValidator for
validating the input.
IMockCentralDialog getMockCentralDialog(MockCentralDialogType type,
java.lang.Object... args)
IMockCentralDialog created using the specified
MockCentralDialogType value and the supplied varargs.
type - the MockCentralDialogType value.args - an arrays or arguments used to build the dialog.
IMockCentralDialog created using the specified
MockCentralDialogType value and the supplied varargs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||