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