@Implements(value=android.widget.TabHost.TabSpec.class) public static class ShadowTabHost.ShadowTabSpec extends Object
Constructor and Description |
---|
ShadowTabSpec() |
Modifier and Type | Method and Description |
---|---|
Intent |
getContentAsIntent() |
View |
getContentView() |
int |
getContentViewId() |
View |
getIndicatorAsView() |
Drawable |
getIndicatorIcon() |
String |
getIndicatorLabel() |
protected String |
getTag() |
String |
getText()
Same as GetIndicatorLabel()
|
protected TabHost.TabSpec |
setContent(int viewId) |
protected TabHost.TabSpec |
setContent(Intent intent) |
protected TabHost.TabSpec |
setContent(TabHost.TabContentFactory factory) |
protected TabHost.TabSpec |
setIndicator(CharSequence label) |
protected TabHost.TabSpec |
setIndicator(CharSequence label,
Drawable icon) |
protected TabHost.TabSpec |
setIndicator(View view) |
void |
setTag(String tag)
Sets the tag on the TabSpec.
|
public void setTag(String tag)
Sets the tag on the TabSpec.
tag
- The tag.@Implementation protected String getTag()
public View getIndicatorAsView()
TabSpec#setIndicator(View)
public String getIndicatorLabel()
public Drawable getIndicatorIcon()
public String getText()
Same as GetIndicatorLabel()
@Implementation protected TabHost.TabSpec setIndicator(View view)
@Implementation protected TabHost.TabSpec setIndicator(CharSequence label)
@Implementation protected TabHost.TabSpec setIndicator(CharSequence label, Drawable icon)
public Intent getContentAsIntent()
TabSpec#setContent(Intent)
@Implementation protected TabHost.TabSpec setContent(Intent intent)
@Implementation protected TabHost.TabSpec setContent(TabHost.TabContentFactory factory)
@Implementation protected TabHost.TabSpec setContent(int viewId)
public int getContentViewId()
public View getContentView()