Lines Matching defs:tab

604      * This tab will not be included in the action bar until it is added.
624 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
625 * If this is the first tab to be added it will become the selected tab.
627 * @param tab Tab to add
634 public abstract void addTab(Tab tab);
637 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
639 * @param tab Tab to add
640 * @param setSelected True if the added tab should become the selected tab.
647 public abstract void addTab(Tab tab, boolean setSelected);
650 * Add a tab for use in tabbed navigation mode. The tab will be inserted at
651 * <code>position</code>. If this is the first tab to be added it will become
652 * the selected tab.
654 * @param tab The tab to add
655 * @param position The new position of the tab
662 public abstract void addTab(Tab tab, int position);
665 * Add a tab for use in tabbed navigation mode. The tab will be insterted at
668 * @param tab The tab to add
669 * @param position The new position of the tab
670 * @param setSelected True if the added tab should become the selected tab.
677 public abstract void addTab(Tab tab, int position, boolean setSelected);
680 * Remove a tab from the action bar. If the removed tab was selected it will be deselected
681 * and another tab will be selected if present.
683 * @param tab The tab to remove
690 public abstract void removeTab(Tab tab);
693 * Remove a tab from the action bar. If the removed tab was selected it will be deselected
694 * and another tab will be selected if present.
696 * @param position Position of the tab to remove
706 * Remove all tabs from the action bar and deselect the current tab.
716 * Select the specified tab. If it is not a child of this action bar it will be added.
720 * @param tab Tab to select
727 public abstract void selectTab(Tab tab);
730 * Returns the currently selected tab if in tabbed navigation mode and there is at least
731 * one tab present.
733 * @return The currently selected tab or null
744 * Returns the tab at the specified index.
1108 * A tab in the action bar.
1120 * An invalid position for a tab.
1127 * Return the current position of this tab in the action bar.
1129 * @return Current position, or {@link #INVALID_POSITION} if this tab is not currently in
1135 * Return the icon associated with this tab.
1137 * @return The tab's icon
1142 * Return the text of this tab.
1144 * @return The tab's text
1149 * Set the icon displayed on this tab.
1157 * Set the icon displayed on this tab.
1165 * Set the text displayed on this tab. Text may be truncated if there is not
1174 * Set the text displayed on this tab. Text may be truncated if there is not
1183 * Set a custom view to be used for this tab. This overrides values set by
1186 * @param view Custom view to be used as a tab.
1192 * Set a custom view to be used for this tab. This overrides values set by
1195 * @param layoutResId A layout resource to inflate and use as a custom tab view
1201 * Retrieve a previously set custom view for this tab.
1221 * Set the {@link TabListener} that will handle switching to and from this tab.
1224 * @param listener Listener to handle tab selection events
1230 * Select this tab. Only valid if the tab has been added to the action bar.
1235 * Set a description of this tab's content for use in accessibility support.
1246 * Set a description of this tab's content for use in accessibility support.
1249 * @param contentDesc Description of this tab's content
1257 * Gets a brief description of this tab's content for use in accessibility support.
1259 * @return Description of this tab's content
1267 * Callback interface invoked when a tab is focused, unfocused, added, or removed.
1277 * Called when a tab enters the selected state.
1279 * @param tab The tab that was selected
1281 * during a tab switch. The previous tab's unselect and this tab's select will be
1285 public void onTabSelected(Tab tab, FragmentTransaction ft);
1288 * Called when a tab exits the selected state.
1290 * @param tab The tab that was unselected
1292 * during a tab switch. This tab's unselect and the newly selected tab's select
1296 public void onTabUnselected(Tab tab, FragmentTransaction ft);
1299 * Called when a tab that is already selected is chosen again by the user.
1302 * @param tab The tab that was reselected.
1307 public void onTabReselected(Tab tab, FragmentTransaction ft);