Package org.robolectric.shadows
Class ShadowTabHost
java.lang.Object
org.robolectric.shadows.ShadowView
org.robolectric.shadows.ShadowViewGroup
org.robolectric.shadows.ShadowTabHost
@Implements(android.widget.TabHost.class) public class ShadowTabHost extends ShadowViewGroup
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShadowTabHost.ShadowTabSpec
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowView
ShadowView.WindowIdHelper
-
Field Summary
Fields inherited from class org.robolectric.shadows.ShadowView
attributeSet, realView, scrollToCoordinates
-
Constructor Summary
Constructors Constructor Description ShadowTabHost()
-
Method Summary
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)
Methods inherited from class org.robolectric.shadows.ShadowViewGroup
addView, dump, getDisallowInterceptTouchEvent, getInterceptedTouchEvent, innerText, onInterceptTouchEvent, removedChild, requestDisallowInterceptTouchEvent
Methods inherited from class org.robolectric.shadows.ShadowView
__constructor__, addGlobalPerformClickListener, addGlobalPerformLongClickListener, 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, performClick, performHapticFeedback, performLongClick, post, postDelayed, postInvalidateDelayed, removeCallbacks, removeGlobalPerformClickListener, removeGlobalPerformLongClickListener, removeOnAttachStateChangeListener, requestLayout, reset, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
-
Constructor Details
-
ShadowTabHost
public ShadowTabHost()
-
-
Method Details