All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gjt.GJTDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----gjt.GJTDialog

public class GJTDialog
extends Dialog
A base class for gjt dialog classes, this concrete class establishes the relationship between a dialog and its client (DialogClient) in addition to packing and centering the dialog within its frame.

See Also:
MessageDialog, QuestionDialog, YesNoDialog, ProgressDialog, DialogTest

Variable Index

 o centered
 o client

Constructor Index

 o GJTDialog(Frame, String, DialogClient, boolean)
 o GJTDialog(Frame, String, DialogClient, boolean, boolean)

Method Index

 o dispose()
 o setCentered(boolean)
 o setClient(DialogClient)
 o setVisible(boolean)

Variables

 o client
 protected DialogClient client
 o centered
 protected boolean centered

Constructors

 o GJTDialog
 public GJTDialog(Frame frame,
                  String title,
                  DialogClient aClient,
                  boolean modal)
 o GJTDialog
 public GJTDialog(Frame frame,
                  String title,
                  DialogClient aClient,
                  boolean centered,
                  boolean modal)

Methods

 o setCentered
 public void setCentered(boolean centered)
 o setClient
 public void setClient(DialogClient client)
 o dispose
 public void dispose()
Overrides:
dispose in class Window
 o setVisible
 public void setVisible(boolean visible)
Overrides:
setVisible in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index