Class symantec.itools.awt.util.dialog.DialogBox
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.awt.util.dialog.DialogBox

Object
   |
   +----Component
           |
           +----Container
                   |
                   +----Window
                           |
                           +----Dialog
                                   |
                                   +----symantec.itools.awt.util.dialog.DialogBox

public class DialogBox
extends Dialog
This implements a non-resizable dialog box. It has an available button and closes itself as needed.


Variable Index

 o okButton
An available button.

Constructor Index

 o symantec.itools.awt.util.dialog.DialogBox(Frame)
Constructs a DialogBox with the given parent.
 o symantec.itools.awt.util.dialog.DialogBox(Frame, boolean)
Constructs a DialogBox with the given parent and modality.
 o symantec.itools.awt.util.dialog.DialogBox(Frame, String, boolean)
Constructs a DialogBox with the given parent, title, and modality.

Method Index

 o closeDialog()
Hides and disposes of the dialog.
 o handleEvent(Event)
Processes events for this component.
 o show()
Makes this component visible.

Variables

 o okButton
protected java.awt.Button okButton
An available button.

Constructors

 o DialogBox
public DialogBox(Frame f)
Constructs a DialogBox with the given parent.

Parameters:
f - the frame of this dialogÆs parent
 o DialogBox
public DialogBox(Frame f,
                 boolean modal)
Constructs a DialogBox with the given parent and modality.

Parameters:
f - the frame of this dialogÆs parent
modal - true to construct a modal dialog, false to construct a non-modal dialog
 o DialogBox
public DialogBox(Frame f,
                 String s,
                 boolean modal)
Constructs a DialogBox with the given parent, title, and modality.

Parameters:
f - the frame of this dialogÆs parent
s - the title for this dialog
modal - true to construct a modal dialog, false to construct a non-modal dialog

Methods

 o closeDialog
protected void closeDialog()
Hides and disposes of the dialog.

 o handleEvent
public boolean handleEvent(Event event)
Processes events for this component.

This is a standard Java AWT method which gets called by the AWT to handle this component's events. The default handler for components dispatches to one of the following methods as needed: action(), gotFocus(), lostFocus(), keyDown(), keyUp(), mouseEnter(), mouseExit(), mouseMove(), mouseDrag(), mouseDown(), or mouseUp().

Parameters:
event - the event to handle
Returns:
true if the event was handled and no further action is needed, false to pass the event to this component's parent
Overrides:
handleEvent in class Component
 o show
public void show()
Makes this component visible.

This is a standard Java AWT method which gets called to show this component. If this component was invisible due to a previous hide() call it makes this component visible again.

Overrides:
show in class Dialog

All Packages  Class Hierarchy  This Package  Previous  Next  Index