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. Illustrations of how the example code is rendered on various platforms follows the code sample.
view.add(new nUIRadioCheckbox(NUIID_MY_RADIOCHECKBOX, "nUIRadioCheckbox"));
Platform | Platform-Specific Class and Illustration |
Android | android.widget.RadioButton |
| Cleared | Selected |
iOS 7 | UIButton Note: | The radio button displays a check next to the selected item. |
|
| Cleared | Selected |
iOS 6 | UIButton Note: | The radio button displays a check next to the selected item. |
|
| Cleared | Selected |
Windows Phone | RadioButton |
| Cleared | Selected |
Windows RT Windows 8 | Windows.UI.Xaml.Controls.RadioButton |
Other | Cleared | Selected |