|
|||||||||
| 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
public abstract class ChoiceBox
This abstract class is the superclass of classes representing Checkboxes, Combo Boxes, List Boxes and RadioButtons.
MenuBox,
CheckBox,
RadioButton,
Serialized Form| Constructor Summary | |
|---|---|
ChoiceBox()
|
|
| Method Summary | |
|---|---|
void |
addToValues(java.lang.String value)
Adds a new value that can be checked or selected from this ChoiceBox. |
abstract java.lang.String |
chosen(java.lang.String value)
This method finds out whether the given value has been checked/selected. |
| 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 ChoiceBox()
| Method Detail |
|---|
public void addToValues(java.lang.String value)
value - another value to this ChoiceBox.public abstract java.lang.String chosen(java.lang.String value)
value - the value of the ChoiceBox item whose status is returned by
this method.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||