Class cynosurex.awt.AboutDialog
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
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 action(Event, Object)
 o gotFocus(Event, Object)
 o handleEvent(Event)

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 action
  public boolean action(Event e,
                        Object arg)
Overrides:
action in class Component
 o handleEvent
  public boolean handleEvent(Event evt)
Overrides:
handleEvent in class Component
 o gotFocus
  public boolean gotFocus(Event e,
                          Object arg)
Overrides:
gotFocus in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index