public class TypeIErrorPanel extends WizardStepPanel implements ListValidator
Constructor and Description |
---|
TypeIErrorPanel(WizardContext context)
Create an empty type I error panel
|
Modifier and Type | Method and Description |
---|---|
void |
loadFromContext()
Load the alpha panel from the study design context information
|
void |
onAdd(String value)
Validate the alpha level entered by the user and add to the
study design.
|
void |
onDelete(String value,
int index)
Delete the specified alpha value.
|
void |
onWizardContextChange(WizardContextChangeEvent e)
Respond to a change in the context object
|
void |
onWizardContextLoad()
Response to a context load event
|
void |
reset()
Clear the list of alpha values.
|
void |
validate(String value)
Validate new entries in the alpha list
|
getName, getState, onEnter, onExit
public TypeIErrorPanel(WizardContext context)
public void validate(String value) throws IllegalArgumentException
IllegalArgumentException
DynamicListValidator
public void reset()
reset
in class WizardStepPanel
public void loadFromContext()
public void onWizardContextChange(WizardContextChangeEvent e)
onWizardContextChange
in interface WizardContextListener
onWizardContextChange
in class WizardStepPanel
public void onWizardContextLoad()
onWizardContextLoad
in interface WizardContextListener
onWizardContextLoad
in class WizardStepPanel
public void onAdd(String value) throws IllegalArgumentException
onAdd
in interface ListValidator
value
- the alpha value as a stringIllegalArgumentException
public void onDelete(String value, int index)
onDelete
in interface ListValidator
value
- the alpha value as a stringUniversity of Colorado Denver, Department of Biostatistics and Informatics