Class pmr.simplegraph.InfoDialog
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.simplegraph.InfoDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----pmr.simplegraph.InfoDialog

public class InfoDialog
extends Dialog
a simple Dialog announcing an error; derived from J-I-A-N, p 104)

Variable Index

 o ERROR
 o INFO
 o WARNING

Constructor Index

 o InfoDialog(Frame, int, String, boolean)
create InfoDialog with preset types (ERROR, WARNING, INFO)

Method Index

 o action(Event, Object)
 o hasBeenPressed()
 o main(String[])

Variables

 o ERROR
  public final static int ERROR
 o WARNING
  public final static int WARNING
 o INFO
  public final static int INFO

Constructors

 o InfoDialog
  public InfoDialog(Frame parent,
                    int type,
                    String message,
                    boolean modal)
create InfoDialog with preset types (ERROR, WARNING, INFO)

Methods

 o action
  public boolean action(Event e,
                        Object arg)
Overrides:
action in class Component
 o hasBeenPressed
  public boolean hasBeenPressed()
 o main
  public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index