|
Oxygen XML Editor 14.1 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectro.sync.ecss.markers.MarkerBase
ro.sync.ecss.markers.ContentMarker
ro.sync.ecss.changetracking.ChangeMarker
public class ChangeMarker
This object marks a change in the Author (insert or delete).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface ro.sync.ecss.extensions.api.highlights.AuthorPersistentHighlight |
|---|
AuthorPersistentHighlight.PersistentHighlightType |
| Field Summary |
|---|
| Fields inherited from interface ro.sync.ecss.markers.MarkerConstants |
|---|
ALL_MARKERS_PI, COMMENT_MARKER_PI_END, COMMENT_MARKER_PI_START, CONTENT, CUSTOM_MARKER_PI_END, CUSTOM_MARKER_PI_START, DATE_FORMAT, DELETE_MARKER_PI, DELETE_MARKER_SPECIAL_PI, DISPLAY_DATE_FORMAT, END_ATTRIBUTE, ID_NAME_ATTRIBUTE, INSERT_MARKER_PI_END, INSERT_MARKER_PI_START, INSERT_MARKER_SPECIAL_PI, OXY_OPTIONS_PI, START_ATTRIBUTE, TRACK_CHANGES_STATE_ATTRIBUTE, TRACK_CHANGES_STATE_ON |
| Fields inherited from interface ro.sync.ecss.extensions.api.highlights.AuthorPersistentHighlightConstants |
|---|
AUTHOR_NAME_ATTRIBUTE, COMMENT_ATTRIBUTE, MODIFICATION_TIME |
| Constructor Summary | |
|---|---|
ChangeMarker(AuthorPersistentHighlight.PersistentHighlightType type)
Constructor. |
|
| Method Summary | |
|---|---|
static ChangeMarker |
createChangeMarker(Content content,
AuthorPersistentHighlight.PersistentHighlightType markerType,
int startOffset,
int endOffset)
Create a fixed marker with the info from another marker. |
static ChangeMarker |
createChangeMarker(Content content,
ro.sync.ecss.markers.MarkerBase marker,
int startOffset,
int endOffset)
Create a fixed marker with the info from another marker. |
static ChangeMarker |
duplicate(Content content,
ro.sync.ecss.markers.MarkerBase marker)
Create a fixed marker with the info from another marker. |
| Methods inherited from class ro.sync.ecss.markers.ContentMarker |
|---|
getEndMark, getEndOffset, getStartMark, getStartOffset, setEndMark, setStartMark |
| Methods inherited from class ro.sync.ecss.markers.MarkerBase |
|---|
compareTo, containsOffset, getAuthor, getAuthorComment, getClonedProperties, getDescription, getFormattedModififcationTime, getModificationTime, getProperties, getSerializationUniqueID, getTimestamp, getType, setAuthor, setAuthorComment, setModTime, setProperty, setSerializationUniqueID, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeMarker(AuthorPersistentHighlight.PersistentHighlightType type)
type - The persistent highlight type,
one of AuthorPersistentHighlight.PersistentHighlightType#CHANGE_DELETE or
AuthorPersistentHighlight.PersistentHighlightType#CHANGE_INSERT| Method Detail |
|---|
public static final ChangeMarker createChangeMarker(Content content,
ro.sync.ecss.markers.MarkerBase marker,
int startOffset,
int endOffset)
throws javax.swing.text.BadLocationException
content - The author content.marker - The original marker.startOffset - The start offsetendOffset - The end offset
javax.swing.text.BadLocationException - Thrown if it fails to create positions.
public static final ChangeMarker createChangeMarker(Content content,
AuthorPersistentHighlight.PersistentHighlightType markerType,
int startOffset,
int endOffset)
throws javax.swing.text.BadLocationException
content - The author content.markerType - The marker typestartOffset - The start offsetendOffset - The end offset
javax.swing.text.BadLocationException - Thrown if it fails to create positions.
public static final ChangeMarker duplicate(Content content,
ro.sync.ecss.markers.MarkerBase marker)
throws javax.swing.text.BadLocationException
content - The author content.marker - The original marker.
javax.swing.text.BadLocationException - Thrown if it fails to create positions.
|
Oxygen XML Editor 14.1 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||