/**@class android.app.ActionBar.Tab @extends java.lang.Object A tab in the action bar. <p>Tabs manage the hiding and showing of {@link android.app.Fragment}s. @deprecated Action bar navigation modes are deprecated and not supported by inline toolbar action bars. Consider using other <a href="http://developer.android.com/design/patterns/navigation.html">common navigation patterns</a> instead. */ var Tab = { /** An invalid position for a tab. @see #getPosition() */ INVALID_POSITION : "-1", /**Return the current position of this tab in the action bar. @return {Number} Current position, or {@link #INVALID_POSITION} if this tab is not currently in the action bar. */ getPosition : function( ) {}, /**Return the icon associated with this tab. @return {Object {android.graphics.drawable.Drawable}} The tab's icon */ getIcon : function( ) {}, /**Return the text of this tab. @return {Object {java.lang.CharSequence}} The tab's text */ getText : function( ) {}, /**Set the icon displayed on this tab. @param {Object {Drawable}} icon The drawable to use as an icon @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining */ setIcon : function( ) {}, /**Set the icon displayed on this tab. @param {Number} resId Resource ID referring to the drawable to use as an icon @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining */ setIcon : function( ) {}, /**Set the text displayed on this tab. Text may be truncated if there is not room to display the entire string. @param {Object {CharSequence}} text The text to display @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining */ setText : function( ) {}, /**Set the text displayed on this tab. Text may be truncated if there is not room to display the entire string. @param {Number} resId A resource ID referring to the text that should be displayed @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining */ setText : function( ) {}, /**Set a custom view to be used for this tab. This overrides values set by {@link #setText}(CharSequence) and {@link #setIcon}(Drawable). @param {Object {View}} view Custom view to be used as a tab. @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining */ setCustomView : function( ) {}, /**Set a custom view to be used for this tab. This overrides values set by {@link #setText}(CharSequence) and {@link #setIcon}(Drawable). @param {Number} layoutResId A layout resource to inflate and use as a custom tab view @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining */ setCustomView : function( ) {}, /**Retrieve a previously set custom view for this tab. @return {Object {android.view.View}} The custom view set by {@link #setCustomView(View)}. */ getCustomView : function( ) {}, /**Give this Tab an arbitrary object to hold for later use. @param {Object {Object}} obj Object to store @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining */ setTag : function( ) {}, /** @return {Object {java.lang.Object}} This Tab's tag object. */ getTag : function( ) {}, /**Set the {@link android.app.ActionBar.TabListener} that will handle switching to and from this tab. All tabs must have a TabListener set before being added to the ActionBar. @param {Object {ActionBar.TabListener}} listener Listener to handle tab selection events @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining */ setTabListener : function( ) {}, /**Select this tab. Only valid if the tab has been added to the action bar. */ select : function( ) {}, /**Set a description of this tab's content for use in accessibility support. If no content description is provided the title will be used. @param {Number} resId A resource ID referring to the description text @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining @see #setContentDescription(CharSequence) @see #getContentDescription() */ setContentDescription : function( ) {}, /**Set a description of this tab's content for use in accessibility support. If no content description is provided the title will be used. @param {Object {CharSequence}} contentDesc Description of this tab's content @return {Object {android.app.ActionBar.Tab}} The current instance for call chaining @see #setContentDescription(int) @see #getContentDescription() */ setContentDescription : function( ) {}, /**Gets a brief description of this tab's content for use in accessibility support. @return {Object {java.lang.CharSequence}} Description of this tab's content @see #setContentDescription(CharSequence) @see #setContentDescription(int) */ getContentDescription : function( ) {}, };