|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xtremelabs.robolectric.shadows.ShadowView
com.xtremelabs.robolectric.shadows.ShadowTextView
com.xtremelabs.robolectric.shadows.ShadowEditText
@Implements(value=android.widget.EditText.class) public class ShadowEditText
A shadow for EditText that provides support for listeners
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.xtremelabs.robolectric.shadows.ShadowTextView |
---|
ShadowTextView.CompoundDrawables |
Field Summary |
---|
Fields inherited from class com.xtremelabs.robolectric.shadows.ShadowView |
---|
focusable, onKeyListener, realView, UNINITIALIZED_ATTRIBUTE |
Constructor Summary | |
---|---|
ShadowEditText()
|
Method Summary | |
---|---|
void |
addTextChangedListener(android.text.TextWatcher watcher)
|
android.text.Editable |
getText()
|
java.util.List<android.text.TextWatcher> |
getWatchers()
|
void |
setText(java.lang.CharSequence text)
|
void |
setText(int textResourceId)
|
Methods inherited from class com.xtremelabs.robolectric.shadows.ShadowTextView |
---|
equals, getCompoundDrawablePadding, getCompoundDrawables, getCompoundDrawablesImpl, getHint, getTextColorHexValue, getTextSize, getUrls, hashCode, innerText, isAutoLinkPhoneNumbers, length, onKeyDown, setAutoLinkMask, setCompoundDrawablePadding, setCompoundDrawables, setCompoundDrawablesWithIntrinsicBounds, setCompoundDrawablesWithIntrinsicBounds, setHint, setTextColor, setTextSize |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShadowEditText()
Method Detail |
---|
@Implementation public void setText(java.lang.CharSequence text)
setText
in class ShadowTextView
@Implementation public void setText(int textResourceId)
setText
in class ShadowTextView
@Implementation public android.text.Editable getText()
getText
in class ShadowTextView
@Implementation public void addTextChangedListener(android.text.TextWatcher watcher)
public java.util.List<android.text.TextWatcher> getWatchers()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |