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