public class OptionsDisplayPanel extends WizardStepPanel implements WizardContextListener
Constructor and Description |
---|
OptionsDisplayPanel(WizardContext context,
String radioGroupSuffix)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
loadFromContext()
load power curve information from the context
|
void |
onClick(ClickEvent event)
Click handler for all checkboxes on the Options screen.
|
void |
onEnter()
Update the data series grid upon entering the
screen - avoids bug in SmartGWT: can't show a field
unless the widget is currently visible on screen
|
void |
onExit()
Change the state to not visible - workaround
for SmartGWT bug
|
void |
onWizardContextChange(WizardContextChangeEvent e)
Update the screen when the context changes
|
void |
onWizardContextLoad()
Handler upload and cancel events when a new context is created
|
static PowerMethodEnum |
powerMethodStringToEnum(String powerMethodStr)
Get the power method enum for this string
|
static String |
powerMethodToString(PowerMethodEnum powerMethod)
Get the test string for this StatisticalTest object
|
void |
reset()
Clear the options panel
|
static StatisticalTestTypeEnum |
statisticalTestStringToEnum(String testStr)
Get the test enum for this string
|
static String |
statisticalTestToString(StatisticalTestTypeEnum test)
Get the test string for this StatisticalTest object
|
getName, getState
public OptionsDisplayPanel(WizardContext context, String radioGroupSuffix)
mode
- mode identifier (needed for unique widget identifiers)public void reset()
reset
in class WizardStepPanel
public static StatisticalTestTypeEnum statisticalTestStringToEnum(String testStr)
testStr
- public static String statisticalTestToString(StatisticalTestTypeEnum test)
testStr
- public static PowerMethodEnum powerMethodStringToEnum(String powerMethodStr)
testStr
- public static String powerMethodToString(PowerMethodEnum powerMethod)
testStr
- public void onClick(ClickEvent event)
public void onWizardContextChange(WizardContextChangeEvent e)
onWizardContextChange
in interface WizardContextListener
onWizardContextChange
in class WizardStepPanel
public void loadFromContext()
public void onWizardContextLoad()
onWizardContextLoad
in interface WizardContextListener
onWizardContextLoad
in class WizardStepPanel
public void onEnter()
onEnter
in class WizardStepPanel
public void onExit()
onExit
in class WizardStepPanel
University of Colorado Denver, Department of Biostatistics and Informatics