@Implements(value=android.widget.TabHost.class) public class ShadowTabHost extends ShadowFrameLayout
Modifier and Type | Class and Description |
---|---|
static class |
ShadowTabHost.ShadowTabSpec |
ShadowView.WindowIdHelper
realViewGroup
attributeSet, realView, scrollToCoordinates
Constructor and Description |
---|
ShadowTabHost() |
Modifier and Type | Method and Description |
---|---|
void |
addTab(android.widget.TabHost.TabSpec tabSpec) |
int |
getCurrentTab() |
android.widget.TabHost.TabSpec |
getCurrentTabSpec() |
java.lang.String |
getCurrentTabTag() |
android.view.View |
getCurrentView() |
android.widget.TabHost.TabSpec |
getSpecByTag(java.lang.String tag) |
android.widget.TabWidget |
getTabWidget() |
android.widget.TabHost.TabSpec |
newTabSpec(java.lang.String tag) |
void |
setCurrentTab(int index) |
void |
setCurrentTabByTag(java.lang.String tag) |
void |
setOnTabChangedListener(android.widget.TabHost.OnTabChangeListener listener) |
addView, dump, getDisallowInterceptTouchEvent, getInterceptedTouchEvent, getLayoutAnimation, getLayoutAnimationListener, innerText, onInterceptTouchEvent, removedChild, requestDisallowInterceptTouchEvent, setLayoutAnimation, setLayoutAnimationListener
__constructor__, buildDrawable, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearWasInvalidated, clickOn, computeOpaqueFlags, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getBackgroundColor, getBackgroundResourceId, getDrawingCache, getGlobalVisibleRect, getLastTouchEvent, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getQualifiers, getScrollX, getScrollY, getWindowId, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, requestLayout, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
@Implementation public android.widget.TabHost.TabSpec newTabSpec(java.lang.String tag)
@Implementation public void addTab(android.widget.TabHost.TabSpec tabSpec)
@Implementation public void setCurrentTab(int index)
@Implementation public void setCurrentTabByTag(java.lang.String tag)
@Implementation public int getCurrentTab()
public android.widget.TabHost.TabSpec getCurrentTabSpec()
@Implementation public java.lang.String getCurrentTabTag()
@Implementation public void setOnTabChangedListener(android.widget.TabHost.OnTabChangeListener listener)
@Implementation public android.view.View getCurrentView()
@Implementation public android.widget.TabWidget getTabWidget()
public android.widget.TabHost.TabSpec getSpecByTag(java.lang.String tag)