Lines Matching refs:tab
605 * This tab will not be included in the action bar until it is added.
626 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
627 * If this is the first tab to be added it will become the selected tab.
629 * @param tab Tab to add
637 public abstract void addTab(Tab tab);
640 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
642 * @param tab Tab to add
643 * @param setSelected True if the added tab should become the selected tab.
651 public abstract void addTab(Tab tab, boolean setSelected);
654 * Add a tab for use in tabbed navigation mode. The tab will be inserted at
655 * <code>position</code>. If this is the first tab to be added it will become
656 * the selected tab.
658 * @param tab The tab to add
659 * @param position The new position of the tab
667 public abstract void addTab(Tab tab, int position);
670 * Add a tab for use in tabbed navigation mode. The tab will be insterted at
673 * @param tab The tab to add
674 * @param position The new position of the tab
675 * @param setSelected True if the added tab should become the selected tab.
683 public abstract void addTab(Tab tab, int position, boolean setSelected);
686 * Remove a tab from the action bar. If the removed tab was selected it will be deselected
687 * and another tab will be selected if present.
689 * @param tab The tab to remove
697 public abstract void removeTab(Tab tab);
700 * Remove a tab from the action bar. If the removed tab was selected it will be deselected
701 * and another tab will be selected if present.
703 * @param position Position of the tab to remove
714 * Remove all tabs from the action bar and deselect the current tab.
725 * Select the specified tab. If it is not a child of this action bar it will be added.
729 * @param tab Tab to select
737 public abstract void selectTab(Tab tab);
740 * Returns the currently selected tab if in tabbed navigation mode and there is at least
741 * one tab present.
743 * @return The currently selected tab or null
755 * Returns the tab at the specified index.
1142 * A tab in the action bar.
1155 * An invalid position for a tab.
1162 * Return the current position of this tab in the action bar.
1164 * @return Current position, or {@link #INVALID_POSITION} if this tab is not currently in
1170 * Return the icon associated with this tab.
1172 * @return The tab's icon
1177 * Return the text of this tab.
1179 * @return The tab's text
1184 * Set the icon displayed on this tab.
1192 * Set the icon displayed on this tab.
1200 * Set the text displayed on this tab. Text may be truncated if there is not
1209 * Set the text displayed on this tab. Text may be truncated if there is not
1218 * Set a custom view to be used for this tab. This overrides values set by
1221 * @param view Custom view to be used as a tab.
1227 * Set a custom view to be used for this tab. This overrides values set by
1230 * @param layoutResId A layout resource to inflate and use as a custom tab view
1236 * Retrieve a previously set custom view for this tab.
1256 * Set the {@link TabListener} that will handle switching to and from this tab.
1259 * @param listener Listener to handle tab selection events
1265 * Select this tab. Only valid if the tab has been added to the action bar.
1270 * Set a description of this tab's content for use in accessibility support.
1281 * Set a description of this tab's content for use in accessibility support.
1284 * @param contentDesc Description of this tab's content
1292 * Gets a brief description of this tab's content for use in accessibility support.
1294 * @return Description of this tab's content
1302 * Callback interface invoked when a tab is focused, unfocused, added, or removed.
1313 * Called when a tab enters the selected state.
1315 * @param tab The tab that was selected
1317 * during a tab switch. The previous tab's unselect and this tab's select will be
1321 public void onTabSelected(Tab tab, FragmentTransaction ft);
1324 * Called when a tab exits the selected state.
1326 * @param tab The tab that was unselected
1328 * during a tab switch. This tab's unselect and the newly selected tab's select
1332 public void onTabUnselected(Tab tab, FragmentTransaction ft);
1335 * Called when a tab that is already selected is chosen again by the user.
1338 * @param tab The tab that was reselected.
1343 public void onTabReselected(Tab tab, FragmentTransaction ft);