protected abstract class FormTester.ChoiceSelector extends Object
FormComponents with an index of
option -- supports RadioGroup, CheckGroup, and
AbstractChoice family.| Modifier | Constructor and Description |
|---|---|
protected |
FormTester.ChoiceSelector(FormComponent<?> formComponent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
assignValueToFormComponent(FormComponent<?> formComponent,
String value)
Implements whether toggle or accumulate the selection.
|
protected void |
doSelect(int index)
Selects a given index in a selectable
FormComponent. |
String |
getChoiceValueForIndex(int index) |
protected FormTester.ChoiceSelector(FormComponent<?> formComponent)
formComponent - a FormComponentprotected abstract void assignValueToFormComponent(FormComponent<?> formComponent, String value)
formComponent - a FormComponentvalue - a String valuepublic String getChoiceValueForIndex(int index)
protected final void doSelect(int index)
FormComponent.index - Copyright © 2006–2014 Apache Software Foundation. All rights reserved.