Most visited

Recently visited

Added in API level 1

HideReturnsTransformationMethod

public class HideReturnsTransformationMethod
extends ReplacementTransformationMethod

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


这种转换方法通过将它们显示为零宽度的不间断空格字符(ï¿¿)来导致任何回车符(\ r)被隐藏。

Summary

Public constructors

HideReturnsTransformationMethod()

Public methods

static HideReturnsTransformationMethod getInstance()

Protected methods

char[] getOriginal()

要替换的字符是\ r。

char[] getReplacement()

\ r被替换的字符是

Inherited methods

From class android.text.method.ReplacementTransformationMethod
From class java.lang.Object
From interface android.text.method.TransformationMethod

Public constructors

HideReturnsTransformationMethod

Added in API level 1
HideReturnsTransformationMethod ()

Public methods

Protected methods

getOriginal

Added in API level 1
char[] getOriginal ()

要替换的字符是\ r。

Returns
char[]

getReplacement

Added in API level 1
char[] getReplacement ()

\ r被替换的字符是

Returns
char[]

Hooray!