Package org.robolectric.shadows
Class ShadowTabHost
java.lang.Object
org.robolectric.shadows.ShadowView
org.robolectric.shadows.ShadowViewGroup
org.robolectric.shadows.ShadowTabHost
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.robolectric.shadows.ShadowView
ShadowView.WindowIdHelper -
Field Summary
Fields inherited from class org.robolectric.shadows.ShadowViewGroup
realViewGroupFields inherited from class org.robolectric.shadows.ShadowView
attributeSet, realView, scrollToCoordinates, viewReflector -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddTab(TabHost.TabSpec tabSpec) protected intprotected Stringprotected ViewgetSpecByTag(String tag) protected TabWidgetprotected TabHost.TabSpecnewTabSpec(String tag) protected voidsetCurrentTab(int index) protected voidsetCurrentTabByTag(String tag) protected voidMethods 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, addOnLayoutChangeListener, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearAnimation, clearAnimations, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dumpAttribute, dumpAttributes, dumpFirstPart, dumpIndent, getAnimations, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getLocationOnScreen, getOnAttachStateChangeListeners, getOnClickListener, getOnCreateContextMenuListener, getOnLayoutChangeListeners, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getSourceLayoutResId, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, initialAwakenScrollBars, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, mapRectFromViewToScreenCoords, onLayout, onLayoutWasCalled, onTouchEvent, performClick, performHapticFeedback, performLongClick, post, postDelayed, postInvalidateDelayed, removeCallbacks, removeGlobalPerformClickListener, removeGlobalPerformLongClickListener, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestLayout, reset, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, useRealGraphics, visualize, wasInvalidated
-
Constructor Details
-
ShadowTabHost
public ShadowTabHost()
-
-
Method Details
-
newTabSpec
-
addTab
-
setCurrentTab
-
setCurrentTabByTag
-
getCurrentTab
-
getCurrentTabSpec
-
getCurrentTabTag
-
setOnTabChangedListener
-
getCurrentView
-
getTabWidget
-
getSpecByTag
-