Android Reference
TransformationMethod
android.text.method
Interface TransformationMethod
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
CharSequence |
getTransformation(CharSequence source,
View view)
Returns a CharSequence that is a transformation of the source text --
for example, replacing each character with a dot in a password field.
|
void |
onFocusChanged(View view,
CharSequence sourceText,
boolean focused,
int direction,
Rect previouslyFocusedRect)
This method is called when the TextView that uses this
TransformationMethod gains or loses focus.
|
-
-
Method Detail
-
getTransformation
CharSequence getTransformation(CharSequence source,
View view)
Returns a CharSequence that is a transformation of the source text --
for example, replacing each character with a dot in a password field.
Beware that the returned text must be exactly the same length as
the source text, and that if the source text is Editable, the returned
text must mirror it dynamically instead of doing a one-time copy.
-
onFocusChanged
void onFocusChanged(View view,
CharSequence sourceText,
boolean focused,
int direction,
Rect previouslyFocusedRect)
This method is called when the TextView that uses this
TransformationMethod gains or loses focus.
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 590 / 159530528. Delta: 0.03714 с