All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.awt.MessageDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----cynosurex.awt.MessageDialog

public class MessageDialog
extends Dialog
implements ActionListener, FocusListener, WindowListener
MessageDialog creates a modal dialog box, containing a multi-lined message. An icon is optional.


Variable Index

 o button
 o buttonPanel
 o icon
 o label

Constructor Index

 o MessageDialog(Frame, String, String)
 o MessageDialog(Frame, String, String, String)

Method Index

 o actionPerformed(ActionEvent)
 o addButton(Button)
 o focusGained(FocusEvent)
 o focusLost(FocusEvent)
 o removeButton(Button)
 o windowActivated(WindowEvent)
 o windowClosed(WindowEvent)
 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Variables

 o button
 protected Button button
 o label
 protected MultiLineLabel label
 o icon
 protected DisplayImage icon
 o buttonPanel
 protected Panel buttonPanel

Constructors

 o MessageDialog
 public MessageDialog(Frame parent,
                      String title,
                      String message,
                      String iconfilename)
 o MessageDialog
 public MessageDialog(Frame parent,
                      String title,
                      String message)

Methods

 o addButton
 public void addButton(Button b)
 o removeButton
 public void removeButton(Button b)
 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o windowActivated
 public void windowActivated(WindowEvent e)
 o windowClosed
 public void windowClosed(WindowEvent e)
 o windowClosing
 public void windowClosing(WindowEvent e)
 o windowDeactivated
 public void windowDeactivated(WindowEvent e)
 o windowDeiconified
 public void windowDeiconified(WindowEvent e)
 o windowIconified
 public void windowIconified(WindowEvent e)
 o windowOpened
 public void windowOpened(WindowEvent e)
 o focusGained
 public void focusGained(FocusEvent e)
 o focusLost
 public void focusLost(FocusEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index