Home » tapestry-src-5.0.19 » org.apache.tapestry5.corelib.components » [javadoc | source]
org.apache.tapestry5.corelib.components
public class: Radio [javadoc | source]
java.lang.Object
   org.apache.tapestry5.corelib.components.Radio

All Implemented Interfaces:
    Field

A radio button (i.e., <input type="radio">). Radio buttons must operate within a RadioContainer (normally, the RadioGroup component).

If the value parameter is not bound, then the default value is a property of the container component whose name matches the Radio component's id.
Method from org.apache.tapestry5.corelib.components.Radio Summary:
afterRender,   beginRender,   defaultLabel,   getClientId,   getControlName,   getLabel,   isDisabled,   isRequired
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tapestry5.corelib.components.Radio Detail:
  void afterRender(MarkupWriter writer) 
  void beginRender(MarkupWriter writer) 
 String defaultLabel() 
 public String getClientId() 
 public String getControlName() 
 public String getLabel() 
 public boolean isDisabled() 
    Returns true if this component has been expressly disabled (via its disabled parameter), or if the container has been disabled.
 public boolean isRequired() 
    Returns false; the RadioComponent component does not support declarative field validation.