Package org.robolectric.shadows
Class ShadowViewGroup
java.lang.Object
org.robolectric.shadows.ShadowView
org.robolectric.shadows.ShadowViewGroup
- Direct Known Subclasses:
ShadowAdapterView,ShadowAppWidgetHostView,ShadowDrawerLayout,ShadowLinearLayout,ShadowRelativeLayout,ShadowScrollView,ShadowSwipeRefreshLayout,ShadowTabHost,ShadowViewAnimator,ShadowWebView
@Implements(android.view.ViewGroup.class) public class ShadowViewGroup extends ShadowView
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robolectric.shadows.ShadowView
ShadowView.WindowIdHelper -
Field Summary
Fields Modifier and Type Field Description protected ViewGrouprealViewGroupFields inherited from class org.robolectric.shadows.ShadowView
attributeSet, realView, scrollToCoordinates -
Constructor Summary
Constructors Constructor Description ShadowViewGroup() -
Method Summary
Modifier and Type Method Description protected voidaddView(View child, int index, ViewGroup.LayoutParams params)voiddump(PrintStream out, int indent)Deprecated.- Please useandroidx.test.espresso.util.HumanReadables#describe(View)booleangetDisallowInterceptTouchEvent()MotionEventgetInterceptedTouchEvent()StringinnerText()Returns a string representation of thisViewGroupby concatenating all of the strings contained in all of the descendants of thisViewGroup.protected booleanonInterceptTouchEvent(MotionEvent ev)protected voidremovedChild(View child)protected voidrequestDisallowInterceptTouchEvent(boolean disallowIntercept)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
-
Field Details
-
Constructor Details
-
ShadowViewGroup
public ShadowViewGroup()
-
-
Method Details
-
addView
-
innerText
Returns a string representation of thisViewGroupby concatenating all of the strings contained in all of the descendants of thisViewGroup.- Overrides:
innerTextin classShadowView- Returns:
- String representation of this view.
-
dump
Deprecated.- Please useandroidx.test.espresso.util.HumanReadables#describe(View)Dumps the state of thisViewGrouptoSystem.out.- Overrides:
dumpin classShadowView- Parameters:
out- Output stream.indent- Indentation level.
-
requestDisallowInterceptTouchEvent
-
getDisallowInterceptTouchEvent
public boolean getDisallowInterceptTouchEvent() -
removedChild
-
getInterceptedTouchEvent
-
onInterceptTouchEvent
-