Package | Description |
---|---|
com.actionbarsherlock.app | |
com.actionbarsherlock.internal.app | |
com.actionbarsherlock.internal.widget |
Modifier and Type | Method and Description |
---|---|
abstract ActionBar.Tab |
ActionBar.getSelectedTab()
Returns the currently selected tab if in tabbed navigation mode and there is at least
one tab present.
|
abstract ActionBar.Tab |
ActionBar.getTabAt(int index)
Returns the tab at the specified index.
|
abstract ActionBar.Tab |
ActionBar.newTab()
Create and return a new
ActionBar.Tab . |
abstract ActionBar.Tab |
ActionBar.Tab.setContentDescription(CharSequence contentDesc)
Set a description of this tab's content for use in accessibility support.
|
abstract ActionBar.Tab |
ActionBar.Tab.setContentDescription(int resId)
Set a description of this tab's content for use in accessibility support.
|
abstract ActionBar.Tab |
ActionBar.Tab.setCustomView(int layoutResId)
Set a custom view to be used for this tab.
|
abstract ActionBar.Tab |
ActionBar.Tab.setCustomView(android.view.View view)
Set a custom view to be used for this tab.
|
abstract ActionBar.Tab |
ActionBar.Tab.setIcon(android.graphics.drawable.Drawable icon)
Set the icon displayed on this tab.
|
abstract ActionBar.Tab |
ActionBar.Tab.setIcon(int resId)
Set the icon displayed on this tab.
|
abstract ActionBar.Tab |
ActionBar.Tab.setTabListener(ActionBar.TabListener listener)
Set the
ActionBar.TabListener that will handle switching to and from this tab. |
abstract ActionBar.Tab |
ActionBar.Tab.setTag(Object obj)
Give this Tab an arbitrary object to hold for later use.
|
abstract ActionBar.Tab |
ActionBar.Tab.setText(CharSequence text)
Set the text displayed on this tab.
|
abstract ActionBar.Tab |
ActionBar.Tab.setText(int resId)
Set the text displayed on this tab.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ActionBar.addTab(ActionBar.Tab tab)
Add a tab for use in tabbed navigation mode.
|
abstract void |
ActionBar.addTab(ActionBar.Tab tab,
boolean setSelected)
Add a tab for use in tabbed navigation mode.
|
abstract void |
ActionBar.addTab(ActionBar.Tab tab,
int position)
Add a tab for use in tabbed navigation mode.
|
abstract void |
ActionBar.addTab(ActionBar.Tab tab,
int position,
boolean setSelected)
Add a tab for use in tabbed navigation mode.
|
void |
ActionBar.TabListener.onTabReselected(ActionBar.Tab tab,
android.support.v4.app.FragmentTransaction ft)
Called when a tab that is already selected is chosen again by the user.
|
void |
ActionBar.TabListener.onTabSelected(ActionBar.Tab tab,
android.support.v4.app.FragmentTransaction ft)
Called when a tab enters the selected state.
|
void |
ActionBar.TabListener.onTabUnselected(ActionBar.Tab tab,
android.support.v4.app.FragmentTransaction ft)
Called when a tab exits the selected state.
|
abstract void |
ActionBar.removeTab(ActionBar.Tab tab)
Remove a tab from the action bar.
|
abstract void |
ActionBar.selectTab(ActionBar.Tab tab)
Select the specified tab.
|
Modifier and Type | Class and Description |
---|---|
class |
ActionBarImpl.TabImpl |
class |
ActionBarWrapper.TabWrapper |
Modifier and Type | Method and Description |
---|---|
ActionBar.Tab |
ActionBarWrapper.getSelectedTab() |
ActionBar.Tab |
ActionBarImpl.getSelectedTab() |
ActionBar.Tab |
ActionBarWrapper.getTabAt(int index) |
ActionBar.Tab |
ActionBarImpl.getTabAt(int index) |
ActionBar.Tab |
ActionBarWrapper.newTab() |
ActionBar.Tab |
ActionBarImpl.newTab() |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setContentDescription(CharSequence contentDesc) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setContentDescription(CharSequence contentDesc) |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setContentDescription(int resId) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setContentDescription(int resId) |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setCustomView(int layoutResId) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setCustomView(int layoutResId) |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setCustomView(android.view.View view) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setCustomView(android.view.View view) |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setIcon(android.graphics.drawable.Drawable icon) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setIcon(android.graphics.drawable.Drawable icon) |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setIcon(int resId) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setIcon(int resId) |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setTabListener(ActionBar.TabListener listener) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setTabListener(ActionBar.TabListener callback) |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setTag(Object obj) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setTag(Object tag) |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setText(CharSequence text) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setText(CharSequence text) |
ActionBar.Tab |
ActionBarWrapper.TabWrapper.setText(int resId) |
ActionBar.Tab |
ActionBarImpl.TabImpl.setText(int resId) |
Modifier and Type | Method and Description |
---|---|
void |
ActionBarWrapper.addTab(ActionBar.Tab tab) |
void |
ActionBarImpl.addTab(ActionBar.Tab tab) |
void |
ActionBarWrapper.addTab(ActionBar.Tab tab,
boolean setSelected) |
void |
ActionBarImpl.addTab(ActionBar.Tab tab,
boolean setSelected) |
void |
ActionBarWrapper.addTab(ActionBar.Tab tab,
int position) |
void |
ActionBarImpl.addTab(ActionBar.Tab tab,
int position) |
void |
ActionBarWrapper.addTab(ActionBar.Tab tab,
int position,
boolean setSelected) |
void |
ActionBarImpl.addTab(ActionBar.Tab tab,
int position,
boolean setSelected) |
void |
ActionBarWrapper.removeTab(ActionBar.Tab tab) |
void |
ActionBarImpl.removeTab(ActionBar.Tab tab) |
void |
ActionBarWrapper.selectTab(ActionBar.Tab tab) |
void |
ActionBarImpl.selectTab(ActionBar.Tab tab) |
Modifier and Type | Method and Description |
---|---|
ActionBar.Tab |
ScrollingTabContainerView.TabView.getTab() |
Modifier and Type | Method and Description |
---|---|
void |
ScrollingTabContainerView.addTab(ActionBar.Tab tab,
boolean setSelected) |
void |
ScrollingTabContainerView.addTab(ActionBar.Tab tab,
int position,
boolean setSelected) |
void |
ScrollingTabContainerView.TabView.bindTab(ActionBar.Tab tab) |
void |
ScrollingTabContainerView.TabView.init(ScrollingTabContainerView parent,
ActionBar.Tab tab,
boolean forList) |
Copyright © 2011–2014. All rights reserved.