to top
Android APIs
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

? Examples
HideReturnsTransformationMethod()
Public Methods

? Examples
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 ()

Added in API level 1

Public Methods

public static HideReturnsTransformationMethod getInstance ()

Added in API level 1

Protected Methods

protected char[] getOriginal ()

Added in API level 1

The character to be replaced is \r.

protected char[] getReplacement ()

Added in API level 1

The character that \r is replaced with is .

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.