@Implements(value=android.widget.TabHost.class) public class ShadowTabHost extends ShadowViewGroup
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 |
---|---|
protected void |
addTab(TabHost.TabSpec tabSpec) |
protected int |
getCurrentTab() |
TabHost.TabSpec |
getCurrentTabSpec() |
protected String |
getCurrentTabTag() |
protected View |
getCurrentView() |
TabHost.TabSpec |
getSpecByTag(String tag) |
protected TabWidget |
getTabWidget() |
protected TabHost.TabSpec |
newTabSpec(String tag) |
protected void |
setCurrentTab(int index) |
protected void |
setCurrentTabByTag(String tag) |
protected void |
setOnTabChangedListener(TabHost.OnTabChangeListener listener) |
addView, dump, getDisallowInterceptTouchEvent, getInterceptedTouchEvent, innerText, onInterceptTouchEvent, removedChild, requestDisallowInterceptTouchEvent
__constructor__, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, requestLayout, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
@Implementation protected TabHost.TabSpec newTabSpec(String tag)
@Implementation protected void addTab(TabHost.TabSpec tabSpec)
@Implementation protected void setCurrentTab(int index)
@Implementation protected void setCurrentTabByTag(String tag)
@Implementation protected int getCurrentTab()
public TabHost.TabSpec getCurrentTabSpec()
@Implementation protected String getCurrentTabTag()
@Implementation protected void setOnTabChangedListener(TabHost.OnTabChangeListener listener)
@Implementation protected View getCurrentView()
@Implementation protected TabWidget getTabWidget()
public TabHost.TabSpec getSpecByTag(String tag)