![]() |
GrammarScope
4.0.0
|


Public Member Functions | |
| MultipleChoice (final Object[] objects) | |
| void | setChoice (final int choice) |
| int | getChoice () |
| Object | getSelectedItem () |
Private Attributes | |
| final JRadioButton[] | buttons |
| final Object[] | objects |
Static Private Attributes | |
| static final long | serialVersionUID = -6692061990357725006L |
Radio button group presenting multiple-choices
| grammarscope.common.component.MultipleChoice.MultipleChoice | ( | final Object[] | objects | ) |
Constructor
| objects | possible choices |
| int grammarscope.common.component.MultipleChoice.getChoice | ( | ) |
Get choice
| Object grammarscope.common.component.MultipleChoice.getSelectedItem | ( | ) |
Get chosen item
| void grammarscope.common.component.MultipleChoice.setChoice | ( | final int | choice | ) |
Set choice
| choice | choice index |
|
private |
Choice buttons
|
private |
Model
|
staticprivate |
1.8.17