ShadowCompoundButton
@Implements(android.widget.TextView.class) public class ShadowTextView extends ShadowView
ShadowView.WindowIdHelper
Modifier and Type | Field | Description |
---|---|---|
protected int |
selectionEnd |
|
protected int |
selectionStart |
attributeSet, realView, scrollToCoordinates
Constructor | Description |
---|---|
ShadowTextView() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__constructor__, addOnAttachStateChangeListener, callOnAttachedToWindow, callOnDetachedFromWindow, checkedPerformClick, clearWasInvalidated, clickOn, didRequestLayout, draw, dump, dump, dump, dumpAttribute, dumpFirstPart, dumpIndent, getGlobalVisibleRect, getLastTouchEvent, getLayerType, getOnAttachStateChangeListeners, getOnClickListener, getOnCreateContextMenuListener, getOnLongClickListener, getOnSystemUiVisibilityChangeListener, getOnTouchListener, getScrollX, getScrollY, getWindowDisplayFrame, getWindowId, getWindowVisibleDisplayFrame, innerText, invalidate, isAttachedToWindow, lastHapticFeedbackPerformed, onLayout, onLayoutWasCalled, onTouchEvent, performHapticFeedback, post, postDelayed, postInvalidateDelayed, removeCallbacks, removeOnAttachStateChangeListener, requestLayout, scrollBy, scrollTo, setAnimation, setDidRequestLayout, setGlobalVisibleRect, setLayerType, setMyParent, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setScrollX, setScrollY, setViewFocus, visualize, wasInvalidated
@Implementation protected void setTextAppearance(Context context, int resid)
@Implementation protected boolean onKeyDown(int keyCode, KeyEvent event)
@Implementation protected boolean onKeyUp(int keyCode, KeyEvent event)
public int getPreviousKeyCode(int index)
public KeyEvent getPreviousKeyEvent(int index)
public String innerText()
TextView
.
Robolectric extension.innerText
in class ShadowView
public int getTextAppearanceId()
@Implementation protected void addTextChangedListener(TextWatcher watcher)
@Implementation protected void removeTextChangedListener(TextWatcher watcher)
public List<TextWatcher> getWatchers()
@HiddenApi @Implementation public Locale getTextServicesLocale()
protected void dumpAttributes(PrintStream out)
dumpAttributes
in class ShadowView
@Implementation protected int getPaintFlags()
@Implementation protected void setPaintFlags(int paintFlags)
@Implementation protected void setOnEditorActionListener(TextView.OnEditorActionListener l)
public 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()