@Implements(value=android.widget.TextView.class) public class ShadowTextView extends ShadowView
ShadowView.WindowIdHelper| Modifier and Type | Field and Description | 
|---|---|
| protected int | selectionEnd | 
| protected int | selectionStart | 
attributeSet, realView, scrollToCoordinates| Constructor and Description | 
|---|
| ShadowTextView() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addTextChangedListener(android.text.TextWatcher watcher) | 
| protected void | dumpAttributes(java.io.PrintStream out) | 
| int | getCompoundDrawablesWithIntrinsicBoundsBottom() | 
| int | getCompoundDrawablesWithIntrinsicBoundsLeft() | 
| int | getCompoundDrawablesWithIntrinsicBoundsRight() | 
| int | getCompoundDrawablesWithIntrinsicBoundsTop() | 
| android.widget.TextView.OnEditorActionListener | getOnEditorActionListener() | 
| protected int | getPaintFlags() | 
| int | getPreviousKeyCode(int index) | 
| android.view.KeyEvent | getPreviousKeyEvent(int index) | 
| int | getTextAppearanceId() | 
| java.util.Locale | getTextServicesLocale() | 
| java.util.List<android.text.TextWatcher> | getWatchers() | 
| java.lang.String | innerText()Returns the text string of this  TextView. | 
| protected boolean | onKeyDown(int keyCode,
         android.view.KeyEvent event) | 
| protected boolean | onKeyUp(int keyCode,
       android.view.KeyEvent event) | 
| protected void | removeTextChangedListener(android.text.TextWatcher watcher) | 
| protected void | setCompoundDrawablesWithIntrinsicBounds(int left,
                                       int top,
                                       int right,
                                       int bottom) | 
| protected void | setOnEditorActionListener(android.widget.TextView.OnEditorActionListener l) | 
| protected void | setPaintFlags(int paintFlags) | 
| protected void | setTextAppearance(android.content.Context context,
                 int resid) | 
__constructor__, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dump, dumpAttribute, dumpFirstPart, dumpIndent, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getWindowId, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, requestLayout, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated@Implementation protected void setTextAppearance(android.content.Context context, int resid)
@Implementation protected boolean onKeyDown(int keyCode, android.view.KeyEvent event)
@Implementation protected boolean onKeyUp(int keyCode, android.view.KeyEvent event)
public int getPreviousKeyCode(int index)
public android.view.KeyEvent getPreviousKeyEvent(int index)
public java.lang.String innerText()
Returns the text string of this TextView.
Robolectric extension.
innerText in class ShadowViewpublic int getTextAppearanceId()
@Implementation protected void addTextChangedListener(android.text.TextWatcher watcher)
@Implementation protected void removeTextChangedListener(android.text.TextWatcher watcher)
public java.util.List<android.text.TextWatcher> getWatchers()
@HiddenApi @Implementation public java.util.Locale getTextServicesLocale()
protected void dumpAttributes(java.io.PrintStream out)
dumpAttributes in class ShadowView@Implementation protected int getPaintFlags()
@Implementation protected void setPaintFlags(int paintFlags)
@Implementation protected void setOnEditorActionListener(android.widget.TextView.OnEditorActionListener l)
public android.widget.TextView.OnEditorActionListener getOnEditorActionListener()
@Implementation protected void setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom)
public int getCompoundDrawablesWithIntrinsicBoundsLeft()
public int getCompoundDrawablesWithIntrinsicBoundsTop()
public int getCompoundDrawablesWithIntrinsicBoundsRight()
public int getCompoundDrawablesWithIntrinsicBoundsBottom()