webMethods Mobile Suite  | webMethods Mobile SuiteWeb Help | webMethods Mobile Designer Native User Interface Reference | Mobile Designer Native User Interface | Using Tabbed Views | Integration in Mobile Designer
 
Integration in Mobile Designer
Content is provided to a nUITabView through an ITabViewProvider interface. You must create a class that implements this interface and assign it to an instance of nUITabView. The nUITabView object queries the methods in ITabViewProvider at run time to determine how to draw its contents. The getNumberOfTabs() method is called to determine how many tabs are required. This method is called only once, near the creation time of the native objects on-screen. For every tab, createTabElement(int index) is called to create the tab's label, and createTabView(int index) is called to create the tab's content. A nUITabViewListener can be used to get notifications when a tab is selected. For example code for nUITabView, see the _NativeUIDemoNew_ Sample Project.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.