com.xtremelabs.robolectric.shadows
Class ShadowViewGroup

java.lang.Object
  extended by com.xtremelabs.robolectric.shadows.ShadowView
      extended by com.xtremelabs.robolectric.shadows.ShadowViewGroup
Direct Known Subclasses:
ShadowAdapterView, ShadowMapView

@Implements(value=android.view.ViewGroup.class)
public class ShadowViewGroup
extends ShadowView


Field Summary
 
Fields inherited from class com.xtremelabs.robolectric.shadows.ShadowView
focusable, onKeyListener, realView, UNINITIALIZED_ATTRIBUTE
 
Constructor Summary
ShadowViewGroup()
           
 
Method Summary
 void addView(android.view.View child)
           
 void clearFocus()
           
 void dump(java.io.PrintStream out, int indent)
           
 android.view.View findViewById(int id)
           
 android.view.View getChildAt(int index)
           
 int getChildCount()
           
 boolean hasFocus()
           
 java.lang.String innerText()
           
 void removeAllViews()
           
 void removeViewAt(int position)
           
 
Methods inherited from class com.xtremelabs.robolectric.shadows.ShadowView
__constructor__, __constructor__, clearWasInvalidated, dispatchTouchEvent, dump, dumpFirstPart, dumpIndent, getBackgroundResourceId, getBottom, getContext, getHeight, getId, getLayoutParams, getLeft, getMeasuredWidth, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getResources, getRight, getRootView, getTag, getTag, getTop, getVisibility, getWidth, inflate, invalidate, isClickable, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isSelected, layout, performClick, requestFocus, requestFocus, setBackgroundResource, setBottom, setClickable, setEnabled, setFocusable, setFocusableInTouchMode, setFocused, setId, setLayoutParams, setLeft, setOnClickListener, setOnFocusChangeListener, setOnKeyListener, setOnTouchListener, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setRight, setSelected, setTag, setTag, setTop, setViewFocus, setVisibility, wasInvalidated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowViewGroup

public ShadowViewGroup()
Method Detail

findViewById

@Implementation
public android.view.View findViewById(int id)
Overrides:
findViewById in class ShadowView

addView

@Implementation
public void addView(android.view.View child)

getChildCount

@Implementation
public int getChildCount()

getChildAt

@Implementation
public android.view.View getChildAt(int index)

removeAllViews

@Implementation
public void removeAllViews()

removeViewAt

@Implementation
public void removeViewAt(int position)

hasFocus

@Implementation
public boolean hasFocus()
Overrides:
hasFocus in class ShadowView

clearFocus

@Implementation
public void clearFocus()
Overrides:
clearFocus in class ShadowView

innerText

public java.lang.String innerText()
Overrides:
innerText in class ShadowView

dump

public void dump(java.io.PrintStream out,
                 int indent)
Overrides:
dump in class ShadowView