org.barracudamvc.contrib.dbroggisch.repopulation
Class CheckboxFormElement

java.lang.Object
  extended by org.barracudamvc.core.forms.DefaultFormElement
      extended by org.barracudamvc.contrib.dbroggisch.repopulation.CheckboxFormElement
All Implemented Interfaces:
Comparable, RepopulationElement, FormElement

public class CheckboxFormElement
extends DefaultFormElement
implements RepopulationElement


Field Summary
 
Fields inherited from class org.barracudamvc.core.forms.DefaultFormElement
allowMultiples, defaultVal, format, key, logger, name, origVal, parent, pe, type, val, validator
 
Constructor Summary
CheckboxFormElement(String name, FormType ft)
           
 
Method Summary
 Object render(ViewContext context)
          When the FormElements are processed, the actual rendering is delegated to the FormElement by invoking this method.
 
Methods inherited from class org.barracudamvc.core.forms.DefaultFormElement
allowMultiples, compareTo, getDefaultVal, getFormat, getKey, getName, getOrigVal, getParentForm, getParseException, getType, getVal, getVal, getValidator, getVals, getVals, setAllowMultiples, setDefaultVal, setFormat, setKey, setName, setOrigVal, setParentForm, setParseException, setType, setVal, setValidator, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckboxFormElement

public CheckboxFormElement(String name,
                           FormType ft)
Method Detail

render

public Object render(ViewContext context)
Description copied from interface: RepopulationElement
When the FormElements are processed, the actual rendering is delegated to the FormElement by invoking this method.

The result is any legal object that can be returned from TemplateModel.

Specified by:
render in interface RepopulationElement
Parameters:
context - a ViewContext value
Returns:
an Object value


Copyright © 2006 BarracudaMVC.org All Rights Reserved.