Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

Sct.gui.SelectionDialog Class Reference

A dialog for entering multiple items. More...

List of all members.

Public Member Functions

 SelectionDialog (java.awt.Frame owner, String title, String fs[], String ds[])
int getIntFieldValue (int index) throws InvalidDialogException, CancelledDialogException
 Try and interpret field index as an integer and return that value.

String getStringFieldValue (int index) throws InvalidDialogException, CancelledDialogException
 Try to interpret field index as a String and return that value.


Package Attributes

JTextField textFields []
String fields []
String defaults []
boolean valid

Private Member Functions

void buildGUI ()
 Build the GUI panel.


Detailed Description

A dialog for entering multiple items.

Definition at line 19 of file SelectionDialog.java.


Constructor & Destructor Documentation

Sct.gui.SelectionDialog.SelectionDialog java.awt.Frame  owner,
String  title,
String  fs[],
String  ds[]
 

Parameters:
owner Parent frame
title Title of dialog box
fs Field names
ds Default text to put in textFields

Definition at line 32 of file SelectionDialog.java.

References Sct.gui.SelectionDialog.buildGUI().

Here is the call graph for this function:


Member Function Documentation

int Sct.gui.SelectionDialog.getIntFieldValue int  index  )  throws InvalidDialogException, CancelledDialogException
 

Try and interpret field index as an integer and return that value.

Parameters:
index Index into fields array

Definition at line 91 of file SelectionDialog.java.

String Sct.gui.SelectionDialog.getStringFieldValue int  index  )  throws InvalidDialogException, CancelledDialogException
 

Try to interpret field index as a String and return that value.

Parameters:
index Index into fields array

Definition at line 105 of file SelectionDialog.java.


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:56:39 2004 for SCT DAQ/DCS Software - Java by doxygen 1.3.5