|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hipipal.texteditor.undo.TextChangeDelete
public class TextChangeDelete
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
TextChangeDelete(java.lang.CharSequence seq,
int start)
|
|
| Method Summary | |
|---|---|
void |
append(java.lang.CharSequence seq)
Method is deprecated, you should use the canMergeXXX methods instead |
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()
Method is deprecated, you should use the canMergeXXX methods instead |
java.lang.String |
toString()
|
int |
undo(android.text.Editable s)
Undo this change |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextChangeDelete(java.lang.CharSequence seq,
int start)
seq - the sequence being deletedstart - the start index| Method Detail |
|---|
public int undo(android.text.Editable s)
TextChange
undo in interface TextChanges - the editable object on which the undo is done
TextChange.undo(android.text.Editable)public int getCaret()
TextChange
getCaret in interface TextChangeTextChange.getCaret()public void append(java.lang.CharSequence seq)
TextChange
append in interface TextChangeseq - the sequence being appended to this TextChangeTextChange.append(java.lang.CharSequence)
public boolean canMergeChangeBefore(java.lang.CharSequence s,
int start,
int count,
int after)
TextChangeTextChange
canMergeChangeBefore in interface TextChanges - the sequence being changedstart - the start indexcount - the number of characters that will changeafter - the number of characters that will replace the old ones
TextChangeTextChange.canMergeChangeAfter(java.lang.CharSequence,
int, int, int)
public boolean canMergeChangeAfter(java.lang.CharSequence s,
int start,
int before,
int count)
TextChangeTextChange
canMergeChangeAfter in interface TextChanges - the sequence being changedstart - the start indexbefore - the number of character that were replacedcount - the number of characters that will change
TextChangeTextChange.canMergeChangeBefore(java.lang.CharSequence,
int, int, int)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||