org.apache.wicket.util.tester
Class FormTester.ChoiceSelector

java.lang.Object
  extended by 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 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormTester.ChoiceSelector

protected FormTester.ChoiceSelector(FormComponent<?> formComponent)
Constructor.

Parameters:
formComponent - a FormComponent
Method Detail

assignValueToFormComponent

protected abstract void assignValueToFormComponent(FormComponent<?> formComponent,
                                                   String value)
Implements whether toggle or accumulate the selection.

Parameters:
formComponent - a FormComponent
value - a String value

doSelect

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

Parameters:
index -


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.