Package org.robolectric.shadows
Class ShadowTabHost.ShadowTabSpec
java.lang.Object
org.robolectric.shadows.ShadowTabHost.ShadowTabSpec
- Enclosing class:
 ShadowTabHost
@Implements(android.widget.TabHost.TabSpec.class)
public static class ShadowTabHost.ShadowTabSpec
extends Object
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintprotected StringgetTag()getText()Same as GetIndicatorLabel()protected TabHost.TabSpecsetContent(int viewId) protected TabHost.TabSpecsetContent(Intent intent) protected TabHost.TabSpecsetContent(TabHost.TabContentFactory factory) protected TabHost.TabSpecsetIndicator(View view) protected TabHost.TabSpecsetIndicator(CharSequence label) protected TabHost.TabSpecsetIndicator(CharSequence label, Drawable icon) voidSets the tag on the TabSpec. 
- 
Constructor Details
- 
ShadowTabSpec
public ShadowTabSpec() 
 - 
 - 
Method Details
- 
setTag
Sets the tag on the TabSpec.- Parameters:
 tag- The tag.
 - 
getTag
 - 
getIndicatorAsView
- Returns:
 - the view object set in a call to 
TabSpec#setIndicator(View) 
 - 
getIndicatorLabel
 - 
getIndicatorIcon
 - 
getText
Same as GetIndicatorLabel()- Returns:
 - Tab text.
 
 - 
setIndicator
 - 
setIndicator
 - 
setIndicator
 - 
getContentAsIntent
- Returns:
 - the intent object set in a call to 
TabSpec#setContent(Intent) 
 - 
setContent
 - 
setContent
 - 
setContent
 - 
getContentViewId
public int getContentViewId() - 
getContentView
 
 -