Public Member Functions | |
| this (Dialog p, int id1, uint c) | |
| Constructs a RadioButtonGroup object to interface a group of radio buttons. | |
Properties | |
| int | selected () |
| The zero-based index of the currently selected radio button in the group. | |
| int | selected (int sel) |
| The zero-based index of the currently selected radio button in the group. | |
Operators | |
| RadioButton | opIndex (int i) |
| Gets a RadioButton object for a radio button in the group. | |
| final int | opEquals (Object o) |
| final int | opEquals (RadioButtonGroup r) |
In order for it to work correctly, the radio buttons must have consecutive IDs as defined in the dialog resource.
| smjg.libs.sdwf.control.RadioButtonGroup.this | ( | Dialog | p, | |
| int | id1, | |||
| uint | c | |||
| ) |
Constructs a RadioButtonGroup object to interface a group of radio buttons.
| p | the dialog on which the radio buttons are placed. | |
| id1 | the ID of the first radio button in the group. | |
| c | the number of radio buttons in the group. Hence the IDs go from firstID to firstID + count - 1. |
| int smjg.libs.sdwf.control.RadioButtonGroup.selected | ( | ) |
The zero-based index of the currently selected radio button in the group.
| int smjg.libs.sdwf.control.RadioButtonGroup.selected | ( | int | sel | ) |
The zero-based index of the currently selected radio button in the group.
| RadioButton smjg.libs.sdwf.control.RadioButtonGroup.opIndex | ( | int | i | ) |
Gets a RadioButton object for a radio button in the group.
(Implementation of this[i].)
| i | zero-based index of the radio button in the group. |
| final int smjg.libs.sdwf.control.RadioButtonGroup.opEquals | ( | Object | o | ) |
| final int smjg.libs.sdwf.control.RadioButtonGroup.opEquals | ( | RadioButtonGroup | r | ) |
Determines whether this RadioButtonGroup is equal to another RadioButtonGroup. Two RadioButtonGroup objects are equal iff they interface the same range of radio buttons.
1.5.3