|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.corelib.components.Radio
public class Radio
A radio button (i.e., <input type="radio">). Radio buttons must operate within a RadioContainer (normally, the RadioGroup component).
| Constructor Summary | |
|---|---|
Radio()
|
|
| Method Summary | |
|---|---|
String |
getClientId()
Returns a unique id for the element. |
String |
getControlName()
Returns the control name provided by the containing RadioContainer. |
String |
getLabel()
Returns a user presentable (localized) label for the field, which may be used inside <label> elements on the client, and inside client or server-side validation error messages. |
boolean |
isDisabled()
Returns true if this component has been expressly disabled (via its disabled parameter), or if the container has been disabled. |
boolean |
isRequired()
Returns false; the RadioComponent component does not support declarative field validation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Radio()
| Method Detail |
|---|
public String getControlName()
RadioContainer.
getControlName in interface FieldFormSupport.allocateControlName(String)public String getLabel()
Field
getLabel in interface FieldLabelpublic boolean isDisabled()
container has been disabled.
isDisabled in interface Fieldpublic String getClientId()
ClientElement
getClientId in interface ClientElementpublic boolean isRequired()
isRequired in interface Field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||