public class FilterDeleteAll extends Object implements TextFieldDeleteFilter
Constructor and Description |
---|
FilterDeleteAll() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptDelete(CharSequence oldSequence,
int deleteStart,
int deleteEnd)
Check if the deletion of a part of the text that was put in is acceptable.
|
public boolean acceptDelete(CharSequence oldSequence, int deleteStart, int deleteEnd)
TextFieldDeleteFilter
acceptDelete
in interface TextFieldDeleteFilter
oldSequence
- the character sequence before the delete is issueddeleteStart
- the index of the first character that is deleteddeleteEnd
- the index of the first character after the deletion rangetrue
in case its okay to delete the characterCopyright © 2013. All Rights Reserved.