|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.tester.FormTester.ChoiceSelector
protected abstract class FormTester.ChoiceSelector
A selector template for selecting selectable FormComponents with an index of
option -- supports RadioGroup, CheckGroup, and
AbstractChoice family.
| Constructor Summary | |
|---|---|
protected |
FormTester.ChoiceSelector(FormComponent<?> formComponent)
Constructor. |
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FormTester.ChoiceSelector(FormComponent<?> formComponent)
formComponent - a FormComponent| Method Detail |
|---|
protected 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 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||