Lines Matching defs:tab

605      * This tab will not be included in the action bar until it is added.
625 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
626 * If this is the first tab to be added it will become the selected tab.
628 * @param tab Tab to add
635 public abstract void addTab(Tab tab);
638 * Add a tab for use in tabbed navigation mode. The tab will be added at the end of the list.
640 * @param tab Tab to add
641 * @param setSelected True if the added tab should become the selected tab.
648 public abstract void addTab(Tab tab, boolean setSelected);
651 * Add a tab for use in tabbed navigation mode. The tab will be inserted at
652 * <code>position</code>. If this is the first tab to be added it will become
653 * the selected tab.
655 * @param tab The tab to add
656 * @param position The new position of the tab
663 public abstract void addTab(Tab tab, int position);
666 * Add a tab for use in tabbed navigation mode. The tab will be insterted at
669 * @param tab The tab to add
670 * @param position The new position of the tab
671 * @param setSelected True if the added tab should become the selected tab.
678 public abstract void addTab(Tab tab, int position, boolean setSelected);
681 * Remove a tab from the action bar. If the removed tab was selected it will be deselected
682 * and another tab will be selected if present.
684 * @param tab The tab to remove
691 public abstract void removeTab(Tab tab);
694 * Remove a tab from the action bar. If the removed tab was selected it will be deselected
695 * and another tab will be selected if present.
697 * @param position Position of the tab to remove
707 * Remove all tabs from the action bar and deselect the current tab.
717 * Select the specified tab. If it is not a child of this action bar it will be added.
721 * @param tab Tab to select
728 public abstract void selectTab(Tab tab);
731 * Returns the currently selected tab if in tabbed navigation mode and there is at least
732 * one tab present.
734 * @return The currently selected tab or null
744 * Returns the tab at the specified index.
1104 * A tab in the action bar.
1115 * An invalid position for a tab.
1122 * Return the current position of this tab in the action bar.
1124 * @return Current position, or {@link #INVALID_POSITION} if this tab is not currently in
1130 * Return the icon associated with this tab.
1132 * @return The tab's icon
1137 * Return the text of this tab.
1139 * @return The tab's text
1144 * Set the icon displayed on this tab.
1152 * Set the icon displayed on this tab.
1160 * Set the text displayed on this tab. Text may be truncated if there is not
1169 * Set the text displayed on this tab. Text may be truncated if there is not
1178 * Set a custom view to be used for this tab. This overrides values set by
1181 * @param view Custom view to be used as a tab.
1187 * Set a custom view to be used for this tab. This overrides values set by
1190 * @param layoutResId A layout resource to inflate and use as a custom tab view
1196 * Retrieve a previously set custom view for this tab.
1216 * Set the {@link TabListener} that will handle switching to and from this tab.
1219 * @param listener Listener to handle tab selection events
1225 * Select this tab. Only valid if the tab has been added to the action bar.
1230 * Set a description of this tab's content for use in accessibility support.
1241 * Set a description of this tab's content for use in accessibility support.
1244 * @param contentDesc Description of this tab's content
1252 * Gets a brief description of this tab's content for use in accessibility support.
1254 * @return Description of this tab's content
1262 * Callback interface invoked when a tab is focused, unfocused, added, or removed.
1271 * Called when a tab enters the selected state.
1273 * @param tab The tab that was selected
1275 * during a tab switch. The previous tab's unselect and this tab's select will be
1279 public void onTabSelected(Tab tab, FragmentTransaction ft);
1282 * Called when a tab exits the selected state.
1284 * @param tab The tab that was unselected
1286 * during a tab switch. This tab's unselect and the newly selected tab's select
1290 public void onTabUnselected(Tab tab, FragmentTransaction ft);
1293 * Called when a tab that is already selected is chosen again by the user.
1296 * @param tab The tab that was reselected.
1301 public void onTabReselected(Tab tab, FragmentTransaction ft);