| |
|
| nextapp.echo2.app.WindowPane echo2example.email.MessageDialog
MessageDialog | public class MessageDialog extends WindowPane (Code) | | A generic modal dialog that displays a message.
|
Constructor Summary | |
public | MessageDialog(String title, String message, int type, int controlConfiguration) Creates a new MessageDialog . |
COMMAND_CANCEL | final public static String COMMAND_CANCEL(Code) | | |
CONTROLS_OK | final public static int CONTROLS_OK(Code) | | |
CONTROLS_YES_NO | final public static int CONTROLS_YES_NO(Code) | | |
TYPE_CONFIRM | final public static int TYPE_CONFIRM(Code) | | |
TYPE_ERROR | final public static int TYPE_ERROR(Code) | | |
MessageDialog | public MessageDialog(String title, String message, int type, int controlConfiguration)(Code) | | Creates a new MessageDialog .
Parameters: title - the dialog title Parameters: message - the message to display Parameters: type - the type of dialog, one of the following values: Parameters: controlConfiguration - the control configuration, one of the following values:CONTROLS_OK CONTROLS_YES_NO
|
addActionListener | public void addActionListener(ActionListener l)(Code) | | Adds an ActionListener to receive notification when the
user selects a choice. The fired command of the fired
ActionEvent will contain be one of the
COMMAND_XXX constants.
Parameters: l - the ActionListener to add |
removeActionListener | public void removeActionListener(ActionListener l)(Code) | | Removes an ActionListener from receiving notification
when the user selects a choice.
Parameters: l - the ActionListener to remove |
|
|
|