All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.awt.AboutDialog

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

public class AboutDialog
extends Dialog
implements ActionListener, CommonInterface, FocusListener, WindowListener
Displays a modal-less About dialog, with or without an icon, on the screen.


Variable Index

 o button
 o icon
 o label

Constructor Index

 o AboutDialog(Frame, String, String)
Constructor to create the About dialog without an icon.
 o AboutDialog(Frame, String, String, String)
Constructor to create the About dialog with an icon.

Method Index

 o actionPerformed(ActionEvent)
 o focusGained(FocusEvent)
 o focusLost(FocusEvent)
 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

Constructors

 o AboutDialog
 public AboutDialog(Frame parent,
                    String title,
                    String message,
                    String iconfilename)
Constructor to create the About dialog with an icon.

Parameters:
parent - - the parent frame.
title - - a String to be displayed on the title bar.
message - - a multi-line message to be dispayed in the dialog box. It is tokenized by the line-feed character, '\n'.
iconfilename - - the file name of the icon in either GIF or JPG format.
 o AboutDialog
 public AboutDialog(Frame parent,
                    String title,
                    String message)
Constructor to create the About dialog without an icon.

Parameters:
parent - - the parent frame.
title - - a String to be displayed on the title bar.
message - - a multi-line message to be dispayed in the dialog box. It is tokenized by the line-feed character, '\n'.

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o windowActivated
 public void windowActivated(WindowEvent evt)
 o windowClosed
 public void windowClosed(WindowEvent evt)
 o windowClosing
 public void windowClosing(WindowEvent evt)
 o windowDeactivated
 public void windowDeactivated(WindowEvent evt)
 o windowDeiconified
 public void windowDeiconified(WindowEvent evt)
 o windowIconified
 public void windowIconified(WindowEvent evt)
 o windowOpened
 public void windowOpened(WindowEvent evt)
 o focusGained
 public void focusGained(FocusEvent e)
 o focusLost
 public void focusLost(FocusEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index