All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class javaParse.ThreadDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----javaParse.ThreadDialog

public class ThreadDialog
extends Dialog
implements ActionListener, WindowListener
All the dialogs used in this package extend this dialog, which is used as a workaround for the bug in JDK 1.0.2 (the show method is not blocking). Should be removed when the bug is solved.


Constructor Index

 o ThreadDialog(Frame, String)
Creates a modal dialog to be shown from within a new thread.
 o ThreadDialog(Frame, String, boolean)
Creates a dialog to be shown from within a new thread.

Method Index

 o actionPerformed(ActionEvent)
 o getPushedButton()
 o setDialogThread(Thread)
Sets the thread from which this dialog's show() is called.
 o windowActivated(WindowEvent)
 o windowClosed(WindowEvent)
 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Constructors

 o ThreadDialog
 public ThreadDialog(Frame parent,
                     String title)
Creates a modal dialog to be shown from within a new thread.

 o ThreadDialog
 public ThreadDialog(Frame parent,
                     String title,
                     boolean modal)
Creates a dialog to be shown from within a new thread. If parameter modal is true, the dialog will be modal.

Methods

 o getPushedButton
 public String getPushedButton()
Returns:
the button pushed by user.
 o setDialogThread
 public void setDialogThread(Thread dt)
Sets the thread from which this dialog's show() is called.

 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o windowClosing
 public void windowClosing(WindowEvent e)
 o windowOpened
 public void windowOpened(WindowEvent e)
 o windowIconified
 public void windowIconified(WindowEvent e)
 o windowDeiconified
 public void windowDeiconified(WindowEvent e)
 o windowClosed
 public void windowClosed(WindowEvent e)
 o windowActivated
 public void windowActivated(WindowEvent e)
 o windowDeactivated
 public void windowDeactivated(WindowEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index