@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 |
|---|---|
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() |
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. |
boolean |
onKeyDown(int keyCode,
android.view.KeyEvent event) |
boolean |
onKeyUp(int keyCode,
android.view.KeyEvent event) |
void |
removeTextChangedListener(android.text.TextWatcher watcher) |
void |
setCompoundDrawablesWithIntrinsicBounds(int left,
int top,
int right,
int bottom) |
void |
setOnEditorActionListener(android.widget.TextView.OnEditorActionListener l) |
void |
setPaintFlags(int paintFlags) |
void |
setTextAppearance(android.content.Context context,
int resid) |
__constructor__, buildDrawable, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearWasInvalidated, clickOn, computeOpaqueFlags, didRequestLayout, draw, dump, dump, dump, dumpAttribute, dumpFirstPart, dumpIndent, getBackgroundColor, getBackgroundResourceId, getDrawingCache, getGlobalVisibleRect, getLastTouchEvent, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getQualifiers, getScrollX, getScrollY, getWindowId, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, requestLayout, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated@Implementation
public void setTextAppearance(android.content.Context context,
int resid)
@Implementation
public boolean onKeyDown(int keyCode,
android.view.KeyEvent event)
@Implementation
public 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 public void addTextChangedListener(android.text.TextWatcher watcher)
@Implementation public 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 public int getPaintFlags()
@Implementation public void setPaintFlags(int paintFlags)
@Implementation public void setOnEditorActionListener(android.widget.TextView.OnEditorActionListener l)
public android.widget.TextView.OnEditorActionListener getOnEditorActionListener()
@Implementation
public void setCompoundDrawablesWithIntrinsicBounds(int left,
int top,
int right,
int bottom)
public int getCompoundDrawablesWithIntrinsicBoundsLeft()
public int getCompoundDrawablesWithIntrinsicBoundsTop()
public int getCompoundDrawablesWithIntrinsicBoundsRight()
public int getCompoundDrawablesWithIntrinsicBoundsBottom()