|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.sociology.forms.FormElement
org.jscience.sociology.forms.ChoiceBox
org.jscience.sociology.forms.RadioButton
public class RadioButton
This class extends ChoiceBox and represents the radiobutton field.
FormElement,
ChoiceBox,
Serialized Form| Constructor Summary | |
|---|---|
RadioButton()
|
|
| Method Summary | |
|---|---|
java.lang.String |
chosen(java.lang.String value)
Will return "checked" or "". |
| Methods inherited from class org.jscience.sociology.forms.ChoiceBox |
|---|
addToValues |
| Methods inherited from class org.jscience.sociology.forms.FormElement |
|---|
getErrorMessage, getName, getValue, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RadioButton()
| Method Detail |
|---|
public java.lang.String chosen(java.lang.String value)
value is unchecked, the empty string
will be returned.
This method is used in the presentation layer of this API.
This method is internally used by generateXML() and
generateXmlAsString() methods of class Form.
- Specified by:
chosen in class ChoiceBox
- Parameters:
value - the value of the RadioButton item whose status is returned by this method.
- Returns:
- "checked" or "".
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||