Installing and using Mobile Suite : webMethods Mobile Designer Native User Interface Reference : Native User Interface (NativeUI) Objects : nUIDropdownlistEntry
nUIDropdownlistEntry
com.softwareag.mobile.runtime.nui.nUIDropdownlistEntry
Use to display a drop-down list that contains selection items.
Usage Notes
*If a drop-down list contains less than five items, consider using the nUIRadioCheckbox object instead.
Example
This code sample displays a drop-down list. Illustrations of how the example code is rendered on various platforms follows the code sample.
String[] list_items = new String[] {"Lorem", "ipsum", "dolor", "sit", "amet"};
view.add(new nUIDropdownlistEntry(NUIID_MY_DROPDOWNLIST, list_items));
Platform
Platform-Specific Class and Illustration
Android
android.widget.Spinner
Closed
Open
iOS 7
UIPickerView
Closed
Open
iOS 6
UIPickerView
Closed
Open
Windows Phone
System.Windows.Controls.ListBox
Closed
Open
 
Windows RT
Windows 8
Windows.UI.Xaml.Controls.ListBox
 
Other
Closed
Open
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback