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.

Classes

class  CancelledDialogException
 Thrown if accessed without clicking OK. More...
class  InvalidDialogException
 Thrown if can't parse int field. More...


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(), Sct.gui.SelectionDialog.defaults, Sct.gui.SelectionDialog.fields, and Sct.gui.SelectionDialog.valid.

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.

Referenced by GuiComponents.SctConf.RODView.getEditButton(), GuiComponents.SctConf.ModuleView.getMURPanel(), GuiComponents.SctConf.ModuleView.getPowerPanel(), GuiComponents.Panels.SctApiGui.inputRodQuadruplet(), GuiComponents.Panels.SctApiGui.inputRodTriplet(), GuiComponents.Panels.SctApiGui.inputTimDoublet(), and GuiComponents.SctConf.MURPanel.physicalMappingPerformed().

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.

Referenced by GuiComponents.SctConf.RODView.getEditButton().


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:14:53 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6