org.apache.tapestry5.corelib.components
Class Checkbox

java.lang.Object
  extended by org.apache.tapestry5.corelib.base.AbstractField
      extended by org.apache.tapestry5.corelib.components.Checkbox
All Implemented Interfaces:
ClientElement, Field

public class Checkbox
extends AbstractField

A Checkbox component is simply a <input type="checkbox">.


Constructor Summary
Checkbox()
           
 
Method Summary
protected  void processSubmission(String elementName)
          Method implemented by subclasses to actually do the work of processing the submission of the form.
 
Methods inherited from class org.apache.tapestry5.corelib.base.AbstractField
createDefaultParameterBinding, decorateInsideField, getClientId, getControlName, getLabel, isDisabled, isRequired, setDecorator, setFormSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Checkbox

public Checkbox()
Method Detail

processSubmission

protected void processSubmission(String elementName)
Description copied from class: AbstractField
Method implemented by subclasses to actually do the work of processing the submission of the form. The element's elementName property will already have been set. This method is only invoked if the field is not disabled.

Specified by:
processSubmission in class AbstractField
Parameters:
elementName - the name of the element (used to find the correct parameter in the request)


Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.