public class InteractionVariablePanel
extends Composite
Constructor and Description |
---|
InteractionVariablePanel(String label,
int numLevels)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addTrendClickHandler(ClickHandler handler)
Add a handler for trend selection clicks
|
void |
addVariableClickHandler(ClickHandler handler)
Add a handler for checkbox clicks
|
String |
getLabel()
Get the label for this panel
|
HypothesisTrendTypeEnum |
getSelectedTrend()
Get the selected trend.
|
boolean |
isChecked()
Get the checkbox value.
|
void |
reset()
Reset to default state which is unchecked
|
void |
setChecked(boolean checked)
Set the value of the checkbox.
|
void |
setTrend(HypothesisTrendTypeEnum trendType)
Set the selected trend.
|
public InteractionVariablePanel(String label, int numLevels)
label
- display for the checkboxnumLevels
- number of levels for the variable associated with this
panel. Used to display valid trend tests.handler
- click event handlerpublic void addVariableClickHandler(ClickHandler handler)
handler
- public void addTrendClickHandler(ClickHandler handler)
handler
- public void reset()
public HypothesisTrendTypeEnum getSelectedTrend()
public boolean isChecked()
public String getLabel()
public void setChecked(boolean checked)
checked
- indicates if the box should be checked or unchecked.public void setTrend(HypothesisTrendTypeEnum trendType)
trendType
- the trend typeUniversity of Colorado Denver, Department of Biostatistics and Informatics