Public Member Functions | |
this (Dialog p, int id1, uint c) | |
Constructs a RadioButtonGroup object to interface a group of radio buttons having consecutive IDs within a dialog. | |
this (RadioButton[] buttons...) | |
Constructs a RadioButtonGroup object to interface an arbitrary group of RadioButton objects. | |
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 override intBool | opEquals (Object o) |
final bool | opEquals (RadioButtonGroup r) |
smjg.libs.sdwf.control.RadioButtonGroup.this | ( | Dialog | p, | |
int | id1, | |||
uint | c | |||
) |
Constructs a RadioButtonGroup object to interface a group of radio buttons having consecutive IDs within a dialog.
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 . |
smjg.libs.sdwf.control.RadioButtonGroup.this | ( | RadioButton[] | buttons... | ) |
Constructs a RadioButtonGroup object to interface an arbitrary group of RadioButton objects.
buttons | the radio buttons to include in the group. |
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 override intBool smjg.libs.sdwf.control.RadioButtonGroup.opEquals | ( | Object | o | ) |
final bool 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 collection of radio buttons in the same sequence, and are both constructed in the same way (from IDs in a dialog or from an array of RadioButton objects).