public class RpiDialog
extends java.lang.Object
This class is not a JDialog subclass; it just implements a show()
method which displays a dialog using a JOptionPane
static method,
and getters to retrieve results stored after showing the dialog.
Constructor and Description |
---|
RpiDialog(java.util.List<Suite> suites,
javax.swing.JFrame parentFrame)
Create a new RPI dialog.
|
Modifier and Type | Method and Description |
---|---|
RpiEstimateType |
getEstimateType() |
Suite |
getNormalizer() |
Suite |
getNrm() |
boolean |
show()
Show this RPI dialog.
|
public RpiDialog(java.util.List<Suite> suites, javax.swing.JFrame parentFrame)
suites
- the available suites for RPI calculationparentFrame
- the parent frame for any error dialogs which may
be shownpublic boolean show()
This method will block until the user has clicked "OK" or "Cancel".
true
if the user made a valid selection and clicked
"OK"; false
otherwisepublic Suite getNrm()
public Suite getNormalizer()
public RpiEstimateType getEstimateType()