/**@class android.widget.TabHost implements android.view.ViewTreeObserver.OnTouchModeChangeListener @extends android.widget.FrameLayout Container for a tabbed window view. This object holds two children: a set of tab labels that the user clicks to select a specific tab, and a FrameLayout object that displays the contents of that page. The individual elements are typically controlled using this container object, rather than setting values on the child elements themselves. */ var TabHost = { /**Creates a new {@link android.widget.TabHost.TabSpec} associated with this tab host. @param {String} tag tag for the tab specification, must be non-null @throws IllegalArgumentException If the passed tag is null */ newTabSpec : function( ) {}, /**<p>Call setup() before adding tabs if loading TabHost using findViewById(). <i><b>However</i></b>: You do not need to call setup() after getTabHost() in {@link android.app.TabActivity TabActivity}. Example:</p> <pre>mTabHost = (TabHost)findViewById(R.id.tabhost); mTabHost.setup(); mTabHost.addTab(TAB_TAG_1, "Hello, world!", "Tab 1"); */ setup : function( ) {}, /** @hide */ sendAccessibilityEventInternal : function( ) {}, /**If you are using {@link android.widget.TabHost.TabSpec#setContent(android.content.Intent)}, this must be called since the activityGroup is needed to launch the local activity. This is done for you if you extend {@link android.app.TabActivity}. @param {Object {LocalActivityManager}} activityGroup Used to launch activities for tab content. */ setup : function( ) {}, /** */ onTouchModeChanged : function( ) {}, /**Add a tab. @param {Object {TabHost.TabSpec}} tabSpec Specifies how to create the indicator and content. @throws IllegalArgumentException If the passed tab spec has null indicator strategy and / or null content strategy. */ addTab : function( ) {}, /**Removes all tabs from the tab widget associated with this tab host. */ clearAllTabs : function( ) {}, /** */ getTabWidget : function( ) {}, /**Returns the current tab. @return {Number} the current tab, may be {@code null} if no tab is set as current */ getCurrentTab : function( ) {}, /**Returns the tag for the current tab. @return {String} the tag for the current tab, may be {@code null} if no tab is set as current */ getCurrentTabTag : function( ) {}, /**Returns the view for the current tab. @return {Object {android.view.View}} the view for the current tab, may be {@code null} if no tab is set as current */ getCurrentTabView : function( ) {}, /** */ getCurrentView : function( ) {}, /**Sets the current tab based on its tag. @param {String} tag the tag for the tab to set as current */ setCurrentTabByTag : function( ) {}, /**Get the FrameLayout which holds tab content */ getTabContentView : function( ) {}, /** */ dispatchKeyEvent : function( ) {}, /** */ dispatchWindowFocusChanged : function( ) {}, /** */ getAccessibilityClassName : function( ) {}, /** */ setCurrentTab : function( ) {}, /**Register a callback to be invoked when the selected state of any of the items in this list changes @param {Object {TabHost.OnTabChangeListener}} l The callback that will run */ setOnTabChangedListener : function( ) {}, };