BBjRadioGroup
Description
In BBj 5.0 and higher, the BBjRadioGroup object provides methods for manipulating a collection of related GUI radio button controls.
Implemented Interfaces
None.
Creation
BBjAPI > BBjSysGui > BBjWindow > BBjRadioButton > BBjRadioGroup
A BBjRadioGroup object is created through
the following BBjWindow methods:
Return Value |
Method |
---|---|
BBjRadioGroup |
|
BBjRadioGroup |
addRadioGroup(BBjVector radiobuttons!) |
Methods of BBjRadioGroup
Return Value |
Method |
---|---|
void |
add(BBjRadioButton radioButton!) |
void |
clearCallback(int eventType) |
String | getName() |
void |
remove(BBjRadioButton radioButton!) |
void | setCallback(int eventType, customObject obj String methodName) |
void | setCallback(int eventType, String subroutineName) |
void | setName(String name) |
Events
Callback Code | Object-oriented Event | Read Record Event | Code |
---|---|---|---|
ON_SELECTION_CHANGE | BBjSelectionChangeEvent | Radio Group Selection Change Event | g |
Remarks
The BBjRadioGroup is the structure that defines the mutual exclusivity of a set of radio buttons, such that selecting one causes all others in the group to become unselected. Radio buttons are also usually set to be in a keyboard navigation group .
In BBj 23+, the BBjRadioGroup implements some methods normally associated with BBjControl (setName, getName, setCallback, getCallback), but it is not a BBjControl.
Example
|
See Also
RADIOBUTTON Mnemonic - Create a Radio Button Control
RADIOGROUP Mnemonic - Create a Radio Button Group
CALLBACK Verb - Register BBj Subroutine
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.