wicket.util.tester
Class FormTester.ChoiceSelector

java.lang.Object
  extended by wicket.util.tester.FormTester.ChoiceSelector
Enclosing class:
FormTester

protected abstract class FormTester.ChoiceSelector
extends java.lang.Object

A selector template for selecting seletable form component via index of option, support RadioGroup, CheckGroup, and AbstractChoice family.


Constructor Summary
protected FormTester.ChoiceSelector(FormComponent formComponent)
          Construct.
 
Method Summary
protected abstract  void assignValueToFormComponent(FormComponent formComponent, java.lang.String value)
          implement whether toggle or cumulate selection
protected  void doSelect(int index)
           
 
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)
Construct.

Parameters:
formComponent -
Method Detail

doSelect

protected final void doSelect(int index)
Parameters:
index -

assignValueToFormComponent

protected abstract void assignValueToFormComponent(FormComponent formComponent,
                                                   java.lang.String value)
implement whether toggle or cumulate selection

Parameters:
formComponent -
value -


Copyright © 2004-2007 Wicket developers. All Rights Reserved.