All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dtai.gui.StdDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----dtai.gwt.GadgetShell
                                   |
                                   +----dtai.gwt.GadgetPanel
                                           |
                                           +----dtai.gwt.GadgetDialog
                                                   |
                                                   +----dtai.gui.StdDialog

public class StdDialog
extends GadgetDialog
StdDialog - superclass for most DTAI dialogs


Constructor Index

 o StdDialog(Frame, String, boolean)
StdDialog

Method Index

 o addButtonGadget(ButtonGadget)
Adds the specified button.
 o getBody()
Returns the body.
 o getButtonArea()
Returns the ButtonArea.
 o insertButtonGadget(ButtonGadget, int)
Adds the specified button.
 o processWindowEvent(WindowEvent)
If the parent's event handling returns false, hide the dialog.

Constructors

 o StdDialog
 public StdDialog(Frame frame,
                  String name,
                  boolean modal)
StdDialog

Parameters:
frame - the Frame for this dialog
name - the String name of this dialog
modal - is/is not modal

Methods

 o addButtonGadget
 public void addButtonGadget(ButtonGadget button)
Adds the specified button.

Parameters:
button - the button to be added
 o insertButtonGadget
 public void insertButtonGadget(ButtonGadget button,
                                int position)
Adds the specified button.

 o getBody
 public BorderGadget getBody()
Returns the body.

Returns:
body Returns the body of the border gadget
 o getButtonArea
 public PanelGadget getButtonArea()
Returns the ButtonArea.

Returns:
buttonArea
 o processWindowEvent
 public void processWindowEvent(WindowEvent window)
If the parent's event handling returns false, hide the dialog.

Parameters:
window - a WindowEvent
Overrides:
processWindowEvent in class GadgetDialog

All Packages  Class Hierarchy  This Package  Previous  Next  Index