fable.gui.dialog
Class MailDialog

java.lang.Object
  extended by Dialog
      extended by fable.gui.dialog.MailDialog

public class MailDialog
extends Dialog

This dialog box allows users to send a mail containing the selected articles to other people.

Author:
Wonsik Kim

Method Summary
static MailDialogData showMailDialog(Shell parent, java.lang.String subject, java.lang.String body)
          Show a dialog box for sending a mail.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

showMailDialog

public static MailDialogData showMailDialog(Shell parent,
                                            java.lang.String subject,
                                            java.lang.String body)
Show a dialog box for sending a mail.

Parameters:
parent - parent shell of the dialog box.
subject - subject of the mail.
body - body of the mail.
Returns:
MailDialogData object containing information gathered in the dialog box, or null if cancelled.
Requires:
parent != null, subject != null, body != null.