Class FormTester.ChoiceSelector

java.lang.Object
org.apache.wicket.util.tester.FormTester.ChoiceSelector
Enclosing class:
FormTester

protected abstract class FormTester.ChoiceSelector extends Object
A selector template for selecting selectable FormComponents with an index of option -- supports RadioGroup, CheckGroup, and AbstractChoice family.
  • Constructor Details

  • Method Details

    • assignValueToFormComponent

      protected abstract void assignValueToFormComponent(FormComponent<?> formComponent, String value)
      Implements whether toggle or accumulate the selection.
      Parameters:
      formComponent - a FormComponent
      value - a String value
    • getChoiceValueForIndex

      public String getChoiceValueForIndex(int index)
    • doSelect

      protected final void doSelect(int index)
      Selects a given index in a selectable FormComponent.
      Parameters:
      index -