Class cam.visuals.dialogs.ParameterDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----cam.visuals.dialogs.ParameterDialog

public class ParameterDialog
extends Dialog
A dialog which prompts the user for values of each item in the ParameterList. After clicking "OK" or "Apply" the values are stored in the original ParameterList and a WINDOW_CLOSED event is dispatched. One can catch this event by having the invoking class be a listener.

Version:
Oct. 30, 1998
Author:
Mark Hoefer, Chris Anderson

Constructor Index

 o ParameterDialog(Frame, ParameterList, boolean)
Creates a dialog for the input parameter list.

Method Index

 o addNotify()
 o getExitState()
Returns exit state --- either "OK" or "Cancel".
 o show()

Constructors

 o ParameterDialog
 public ParameterDialog(Frame parent,
                        ParameterList params,
                        boolean ModalFlag)
Creates a dialog for the input parameter list.

Parameters:
parent - the parent frame
params - the target ParameterList
ModalFlag - specifies if the dialog is to be modal or non-modal

Methods

 o addNotify
 public void addNotify()
Overrides:
addNotify in class Dialog
 o show
 public synchronized void show()
Overrides:
show in class Dialog
 o getExitState
 public String getExitState()
Returns exit state --- either "OK" or "Cancel".