All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class framework.awt.InteractiveModuleDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----framework.awt.InteractiveModuleDialog

public abstract class InteractiveModuleDialog
extends Dialog
The parent class of all Interactive Display modules. It creates a simple Dialog with a panel and several buttons below the panel. The panel is supposed to be filled by subclasses of this abstract class.


Variable Index

 o buttonsPanel
 o CONTINUE
 o DEFAULT
 o HELP
 o interactivePanel
 o RELOAD
 o STOP
 o waitingThread
Used to suspend the running process.

Constructor Index

 o InteractiveModuleDialog(Frame, String, int)
Fill the dialog with a panel and an ok button.

Method Index

 o continueButtonPressed()
Continue button pressed, the window will be hidden.
 o defaultButtonPressed()
Default button pressed, the default feature maps are loaded.
 o helpButtonPressed()
Help button pressed, a help dialog will appear.
 o reloadButtonPressed()
Reload button pressed, the input feature map data will be reloaded.
 o resumeRunning()
Stop waiting and resume the running process.
 o setVisible(boolean)
Draw the DisplayDialog.
 o stopButtonPressed()
Stop button pressed, the window will be hidden.
 o suspendRunning()
Suspend the running process.

Variables

 o CONTINUE
 public static final int CONTINUE
 o STOP
 public static final int STOP
 o DEFAULT
 public static final int DEFAULT
 o RELOAD
 public static final int RELOAD
 o HELP
 public static final int HELP
 o interactivePanel
 protected Panel interactivePanel
 o buttonsPanel
 protected Panel buttonsPanel
 o waitingThread
 protected Thread waitingThread
Used to suspend the running process.

Constructors

 o InteractiveModuleDialog
 public InteractiveModuleDialog(Frame frame,
                                String title,
                                int buttons)
Fill the dialog with a panel and an ok button. The panel may be filled by subclasses of this class.

Methods

 o helpButtonPressed
 public void helpButtonPressed()
Help button pressed, a help dialog will appear.

 o defaultButtonPressed
 public void defaultButtonPressed()
Default button pressed, the default feature maps are loaded.

 o reloadButtonPressed
 public void reloadButtonPressed()
Reload button pressed, the input feature map data will be reloaded.

 o stopButtonPressed
 public void stopButtonPressed()
Stop button pressed, the window will be hidden.

 o continueButtonPressed
 public void continueButtonPressed()
Continue button pressed, the window will be hidden.

 o setVisible
 public void setVisible(boolean visable)
Draw the DisplayDialog.

Overrides:
setVisible in class Component
 o suspendRunning
 public void suspendRunning()
Suspend the running process.

 o resumeRunning
 public void resumeRunning()
Stop waiting and resume the running process.


All Packages  Class Hierarchy  This Package  Previous  Next  Index