English | Site Directory

Android - An Open Handset Alliance Project

android.text.method
public class

android.text.method.HideReturnsTransformationMethod

java.lang.Object
android.text.method.ReplacementTransformationMethod TransformationMethod
android.text.method.HideReturnsTransformationMethod

This transformation method causes any carriage return characters (\r) to be hidden by displaying them as zero-width non-breaking space characters (?).

Summary

Public Constructors

          HideReturnsTransformationMethod()

Public Methods

      static  HideReturnsTransformationMethod  getInstance()

Protected Methods

        char[]  getOriginal()
The character to be replaced is \r.
        char[]  getReplacement()
The character that \r is replaced with is ?.
Methods inherited from class android.text.method.ReplacementTransformationMethod
Methods inherited from class java.lang.Object
Methods inherited from interface android.text.method.TransformationMethod

Details

Public Constructors

public HideReturnsTransformationMethod()

Public Methods

public static HideReturnsTransformationMethod getInstance()

Protected Methods

protected char[] getOriginal()

The character to be replaced is \r.

protected char[] getReplacement()

The character that \r is replaced with is ?.
Build m5-rc15g - 14 May 2008 12:50