Class ShadowDrawerLayout
java.lang.Object
org.robolectric.shadows.ShadowView
org.robolectric.shadows.ShadowViewGroup
org.robolectric.shadows.support.v4.ShadowDrawerLayout
@Implements(android.support.v4.widget.DrawerLayout.class) public class ShadowDrawerLayout extends ShadowViewGroup
-
Nested Class Summary
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 ShadowDrawerLayout()
-
Method Summary
Modifier and Type Method Description protected void
closeDrawer(View drawerView, boolean animate)
Drawer animations are disabled in unit tests.android.support.v4.widget.DrawerLayout.DrawerListener
getDrawerListener()
protected void
openDrawer(View drawerView, boolean animate)
Drawer animations are disabled in unit tests.protected void
setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener drawerListener)
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
-
ShadowDrawerLayout
public ShadowDrawerLayout()
-
-
Method Details
-
setDrawerListener
@Implementation protected void setDrawerListener(android.support.v4.widget.DrawerLayout.DrawerListener drawerListener) -
getDrawerListener
public android.support.v4.widget.DrawerLayout.DrawerListener getDrawerListener() -
openDrawer
Drawer animations are disabled in unit tests. -
closeDrawer
Drawer animations are disabled in unit tests.
-