public class InlineChangeListener extends java.lang.Object implements ChangeListener
CVS_ID| Constructor and Description |
|---|
InlineChangeListener(java.io.PrintWriter out) |
| Modifier and Type | Method and Description |
|---|---|
void |
onChangeEnd()
Invoked after a change finished.
|
void |
onChangeStart(int leftLine,
int leftLen,
int rightLine,
int rightLen)
Invoked before a change starts.
|
void |
onDeleted(int leftLine,
int rightLine,
Document.Element text)
Invoked for a deleted element
|
void |
onDocumentsEnd(Document left,
Document right)
Invoked after the iteration over the changes finished.
|
void |
onDocumentsStart(Document left,
Document right)
Invoked before the iteration over the changes start.
|
void |
onInserted(int leftLine,
int rightLine,
Document.Element text)
Invoked for an inserted element
|
void |
onUnmodified(int leftLine,
int rightLine,
Document.Element text)
Invoked for an unmodified element
|
public void onDocumentsStart(Document left, Document right)
ChangeListeneronDocumentsStart in interface ChangeListenerleft - the left documentright - the right documentpublic void onDocumentsEnd(Document left, Document right)
ChangeListeneronDocumentsEnd in interface ChangeListenerleft - the left documentright - the right documentpublic void onChangeStart(int leftLine,
int leftLen,
int rightLine,
int rightLen)
ChangeListeneronChangeStart in interface ChangeListenerleftLine - the index of the left element of this change.leftLen - the number of changed left elements.rightLine - the index of the right element of this change.rightLen - the number of changed right elements.public void onChangeEnd()
ChangeListeneronChangeEnd in interface ChangeListenerpublic void onUnmodified(int leftLine,
int rightLine,
Document.Element text)
ChangeListeneronUnmodified in interface ChangeListenerleftLine - the index of the left elementrightLine - the index of the right elementtext - the elementpublic void onDeleted(int leftLine,
int rightLine,
Document.Element text)
ChangeListeneronDeleted in interface ChangeListenerleftLine - the index of the left elementrightLine - the index of the right elementtext - the elementpublic void onInserted(int leftLine,
int rightLine,
Document.Element text)
ChangeListeneronInserted in interface ChangeListenerleftLine - the index of the left elementrightLine - the index of the right elementtext - the elementCopyright © 2010 - 2023 Adobe. All Rights Reserved