public class

HideReturnsTransformationMethod

extends ReplacementTransformationMethod
java.lang.Object
   ↳ android.text.method.ReplacementTransformationMethod
     ↳ android.text.method.HideReturnsTransformationMethod

Class Overview

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 .
[Expand]
Inherited Methods
From class android.text.method.ReplacementTransformationMethod
From class java.lang.Object
From interface android.text.method.TransformationMethod

Public Constructors

public HideReturnsTransformationMethod ()

Since: API Level 1

Public Methods

public static HideReturnsTransformationMethod getInstance ()

Since: API Level 1

Protected Methods

protected char[] getOriginal ()

Since: API Level 1

The character to be replaced is \r.

protected char[] getReplacement ()

Since: API Level 1

The character that \r is replaced with is .