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 classShadowTabHost.ShadowTabSpecNested 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 voidaddTab(TabHost.TabSpec tabSpec)protected intgetCurrentTab()TabHost.TabSpecgetCurrentTabSpec()protected StringgetCurrentTabTag()protected ViewgetCurrentView()TabHost.TabSpecgetSpecByTag(String tag)protected TabWidgetgetTabWidget()protected TabHost.TabSpecnewTabSpec(String tag)protected voidsetCurrentTab(int index)protected voidsetCurrentTabByTag(String tag)protected voidsetOnTabChangedListener(TabHost.OnTabChangeListener listener)Methods inherited from class org.robolectric.shadows.ShadowViewGroup
addView, dump, getDisallowInterceptTouchEvent, getInterceptedTouchEvent, innerText, onInterceptTouchEvent, removedChild, requestDisallowInterceptTouchEventMethods 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