public class

ClearableEditText

extends EditText
implements View.OnFocusChangeListener View.OnTouchListener TextWatcherAdapter.TextWatcherListener
java.lang.Object
   ↳ android.view.View
     ↳ android.widget.TextView
       ↳ android.widget.EditText
         ↳ com.c2call.sdk.pub.gui.custom.ClearableEditText

Summary

Nested Classes
interface ClearableEditText.OnClearClickedListener  
[Expand]
Inherited Constants
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
ClearableEditText(Context context)
ClearableEditText(Context context, AttributeSet attrs)
ClearableEditText(Context context, AttributeSet attrs, int defStyle)
Public Methods
void onFocusChange(View v, boolean hasFocus)
void onTextChanged(EditText view, String text)
boolean onTouch(View v, MotionEvent event)
void setOnClearClickedListener(ClearableEditText.OnClearClickedListener listener)
void setOnFocusChangeListener(View.OnFocusChangeListener f)
void setOnTouchListener(View.OnTouchListener l)
Protected Methods
void setClearIconVisible(boolean visible)
[Expand]
Inherited Methods
From class android.widget.EditText
From class android.widget.TextView
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.View.OnFocusChangeListener
From interface android.view.View.OnTouchListener
From interface android.view.ViewTreeObserver.OnPreDrawListener
From interface android.view.accessibility.AccessibilityEventSource
From interface com.c2call.sdk.lib.controlfoundation.adapters.TextWatcherAdapter.TextWatcherListener

Public Constructors

public ClearableEditText (Context context)

public ClearableEditText (Context context, AttributeSet attrs)

public ClearableEditText (Context context, AttributeSet attrs, int defStyle)

Public Methods

public void onFocusChange (View v, boolean hasFocus)

public void onTextChanged (EditText view, String text)

public boolean onTouch (View v, MotionEvent event)

public void setOnClearClickedListener (ClearableEditText.OnClearClickedListener listener)

public void setOnFocusChangeListener (View.OnFocusChangeListener f)

public void setOnTouchListener (View.OnTouchListener l)

Protected Methods

protected void setClearIconVisible (boolean visible)