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
-
StdDialog(Frame, String, boolean)
-
StdDialog
-
addButtonGadget(ButtonGadget)
- Adds the specified button.
-
getBody()
- Returns the body.
-
getButtonArea()
- Returns the ButtonArea.
-
insertButtonGadget(ButtonGadget, int)
- Adds the specified button.
-
processWindowEvent(WindowEvent)
- If the parent's event handling returns false, hide the
dialog.
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
addButtonGadget
public void addButtonGadget(ButtonGadget button)
- Adds the specified button.
- Parameters:
- button - the button to be added
insertButtonGadget
public void insertButtonGadget(ButtonGadget button,
int position)
- Adds the specified button.
getBody
public BorderGadget getBody()
- Returns the body.
- Returns:
- body
Returns the body of the border gadget
getButtonArea
public PanelGadget getButtonArea()
- Returns the ButtonArea.
- Returns:
- buttonArea
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