protected abstract class FormTester.ChoiceSelector extends Object
FormComponent
s with an index of
option -- supports RadioGroup
, CheckGroup
, and
AbstractChoice
family.Modifier | Constructor and Description |
---|---|
protected |
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 ChoiceSelector(FormComponent<?> formComponent)
formComponent
- a FormComponent
protected abstract void assignValueToFormComponent(FormComponent<?> formComponent, String value)
formComponent
- a FormComponent
value
- a String
valuepublic String getChoiceValueForIndex(int index)
protected final void doSelect(int index)
FormComponent
.index
- Copyright © 2006–2022 Apache Software Foundation. All rights reserved.