android.text.method
Class PasswordTransformationMethod
java.lang.Object
android.text.method.PasswordTransformationMethod
- All Implemented Interfaces:
- TransformationMethod, NoCopySpan, TextWatcher
public class PasswordTransformationMethod
- extends Object
- implements TransformationMethod, TextWatcher
Method Summary |
void |
afterTextChanged(Editable s)
|
void |
beforeTextChanged(CharSequence s,
int start,
int count,
int after)
|
static PasswordTransformationMethod |
getInstance()
|
CharSequence |
getTransformation(CharSequence source,
View view)
|
void |
onFocusChanged(View view,
CharSequence sourceText,
boolean focused,
int direction,
Rect previouslyFocusedRect)
|
void |
onTextChanged(CharSequence s,
int start,
int before,
int count)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordTransformationMethod
public PasswordTransformationMethod()
getTransformation
public CharSequence getTransformation(CharSequence source,
View view)
- Specified by:
getTransformation
in interface TransformationMethod
getInstance
public static PasswordTransformationMethod getInstance()
beforeTextChanged
public void beforeTextChanged(CharSequence s,
int start,
int count,
int after)
- Specified by:
beforeTextChanged
in interface TextWatcher
onTextChanged
public void onTextChanged(CharSequence s,
int start,
int before,
int count)
- Specified by:
onTextChanged
in interface TextWatcher
afterTextChanged
public void afterTextChanged(Editable s)
- Specified by:
afterTextChanged
in interface TextWatcher
onFocusChanged
public void onFocusChanged(View view,
CharSequence sourceText,
boolean focused,
int direction,
Rect previouslyFocusedRect)
- Specified by:
onFocusChanged
in interface TransformationMethod
Copyright © 2008-2012. All Rights Reserved.