Installing and using Mobile Suite : webMethods Mobile Designer Native User Interface Reference : Native User Interface (NativeUI) Objects : nUIDialogWindow
nUIDialogWindow
com.softwareag.mobile.runtime.nui.nUIDialogWindow
Use to display a pop-up window.
Usage Notes
*You can add a nUIViewDisplay object to the nUIDialogWindow object.
*The nUIDialogWindow object does not support multiple panes, the nUINavView object, or nUINavbuttonElement object.
Example
This code sample displays a pop-up window. Illustrations of how the example code is rendered on various platforms follows the code sample.
nUIDialogWindow custom_dialog = new nUIDialogWindow(NUIID_MY_CUSTOM_DIALOG);
nUIViewDisplay view = new nUIViewDisplay(-1);
view.add(new nUITextfieldElement(-1, "Lorem"));
view.add(new nUIEntryElement(NUIID_ENTRYELEMENT_IPSUM, "Ipsum"));
view.add(new nUIEntryElement(NUIID_ENTRYELEMENT_DOLOR, "Dolor"));
nUITableElement button_table = new nUITableElement(-1, new int[]{50, 50});
nUITablerowElement tr = new nUITablerowElement(-1);
{
nUITablecellElement tc = new nUITablecellElement(-1);
{
tc.add(new nUIButtonElement(NUIID_BUTTON_SIT, "Sit"));
}
tr.add(tc);
tc = new nUITablecellElement(-1);
{
tc.add(new nUIButtonElement(NUIID_BUTTON_AMET, "Amet"));
}
tr.add(tc);
}
button_table.add(tr);
view.add(button_table);
custom_dialog.add(view);
Platform
Platform-Specific Class and Illustration
Android
android.app.Dialog
iOS 7 - iPhone
UIView initialized with a UIModalPresentationFormSheet
Note:  
On an iPhone, the nUIDialogWindow object occupies the entire screen.
iOS 7 - iPad
UIView initialized with a UIModalPresentationFormSheet
iOS 6- iPhone
UIView initialized with a UIModalPresentationFormSheet in iOS 6
Note:  
On an iPhone, the nUIDialogWindow object occupies the entire screen.
iOS 6 - iPad
UIView initialized with a UIModalPresentationFormSheet in iOS 6
Windows Phone
System.Windows.Controls.Primitives.Popup
 
Windows RT
Windows 8
Windows.UI.Xaml.Controls.Primitives.Popup
 
Other
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback