@Implements(android.widget.TabHost.class) public class ShadowTabHost extends ShadowViewGroup
Modifier and Type | Class | Description |
---|---|---|
static class |
ShadowTabHost.ShadowTabSpec |
ShadowView.WindowIdHelper
attributeSet, realView, scrollToCoordinates
realViewGroup
Constructor | Description |
---|---|
ShadowTabHost() |
Modifier and Type | Method | 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__constructor__, addOnAttachStateChangeListener, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearAnimation, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getOnAttachStateChangeListeners, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, removeOnAttachStateChangeListener, requestLayout, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
addView, dump, getDisallowInterceptTouchEvent, getInterceptedTouchEvent, innerText, onInterceptTouchEvent, removedChild, requestDisallowInterceptTouchEvent
@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)