English | Site Directory

Android - An Open Handset Alliance Project

android.text.method
public class

android.text.method.PasswordTransformationMethod

java.lang.Object
android.text.method.PasswordTransformationMethod TextWatcher TransformationMethod

Summary

Public Constructors

          PasswordTransformationMethod()

Public Methods

        void  beforeTextChanged(CharSequence s, int start, int count, int after)
This method is called to notify you that, within s, the count characters beginning at start are about to be replaced by new text with length after.
      static  PasswordTransformationMethod  getInstance()
        CharSequence  getTransformation(CharSequence source)
        void  onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect)
        void  onTextChanged(CharSequence s, int start, int before, int count)
This method is called to notify you that, within s, the count characters beginning at start have just replaced old text that had length before.
Methods inherited from class java.lang.Object
Methods inherited from interface android.text.TextWatcher
Methods inherited from interface android.text.method.TransformationMethod

Details

Public Constructors

public PasswordTransformationMethod()

Public Methods

public void beforeTextChanged(CharSequence s, int start, int count, int after)

This method is called to notify you that, within s, the count characters beginning at start are about to be replaced by new text with length after.

public static PasswordTransformationMethod getInstance()

public CharSequence getTransformation(CharSequence source)

public void onFocusChanged(View view, CharSequence sourceText, boolean focused, int direction, Rect previouslyFocusedRect)

public void onTextChanged(CharSequence s, int start, int before, int count)

This method is called to notify you that, within s, the count characters beginning at start have just replaced old text that had length before.
Build m5-rc15g - 14 May 2008 12:50