nUIRadioCheckbox
com.softwareag.mobile.runtime.nui.nUIRadioCheckbox
Use to display a single radio button that uses two states, selected or cleared.
Usage Notes
You can place a radio button in a group with other radio buttons and enable the user to select only one of the available radio button options. To do so, set the
GroupID attribute of the buttons in the group to the same value.
Example
This code sample displays a radio button. Details on how the example code is rendered on various platforms follow the code sample.
view.add(new nUIRadioCheckbox(NUIID_MY_RADIOCHECKBOX, "nUIRadioCheckbox"));
Platform | Platform-Specific Class and Visual Reference |
Android | android.widget.RadioButton |
iOS | UIButton |