|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextChange
| Field Summary |
|---|
| Method Summary | |
|---|---|
void |
append(java.lang.CharSequence sequence)
Deprecated. |
boolean |
canMergeChangeAfter(java.lang.CharSequence s,
int start,
int before,
int count)
A change to the text s has been made, where the count characters starting at start have replaced the substring of length before If possible, this change is merged in this TextChange |
boolean |
canMergeChangeBefore(java.lang.CharSequence s,
int start,
int count,
int after)
A change to the text s will be made, where the count characters starting at start will be replaced by after characters If possible, this change is merged in this TextChange |
int |
getCaret()
Deprecated. |
int |
undo(android.text.Editable text)
Undo this change |
| Method Detail |
|---|
int undo(android.text.Editable text)
text - the editable object on which the undo is done
@Deprecated int getCaret()
@Deprecated void append(java.lang.CharSequence sequence)
sequence - the sequence being appended to this TextChange
boolean canMergeChangeBefore(java.lang.CharSequence s,
int start,
int count,
int after)
TextChange
s - the sequence being changedstart - the start indexcount - the number of characters that will changeafter - the number of characters that will replace the old ones
TextChange
boolean canMergeChangeAfter(java.lang.CharSequence s,
int start,
int before,
int count)
TextChange
s - the sequence being changedstart - the start indexbefore - the number of character that were replacedcount - the number of characters that will change
TextChange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||