|
Oxygen XML Editor 13.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface DocumentContentChangedEvent
Event received by an AuthorListener when changes have been made
in the content of the AuthorDocument.
| Field Summary | |
|---|---|
static int |
DELETE_FRAGMENT_EVENT
Delete fragment event type. |
static int |
DELETE_TEXT_EVENT
Delete simple text event type. |
static int |
INSERT_FRAGMENT_EVENT
Insert fragment event type. |
static int |
INSERT_NODE_EVENT
Insert node event type. |
static int |
INSERT_TEXT_EVENT
Insert simple text event type. |
| Method Summary | |
|---|---|
int |
getLength()
Returns the length of the change. |
int |
getOffset()
Returns the start offset at which the change occurred. |
AuthorNode |
getParentNode()
Returns the AuthorNode containing the change. |
int |
getType()
Returns the type of this event. |
boolean |
isSimpleTextEdit()
Deprecated. Use getType() to determine the type of edit. |
| Field Detail |
|---|
static final int INSERT_TEXT_EVENT
static final int INSERT_NODE_EVENT
static final int INSERT_FRAGMENT_EVENT
static final int DELETE_TEXT_EVENT
static final int DELETE_FRAGMENT_EVENT
| Method Detail |
|---|
int getLength()
int getOffset()
AuthorNode getParentNode()
AuthorNode containing the change.
@Deprecated boolean isSimpleTextEdit()
getType() to determine the type of edit.
true if the edit was a simple text edit, no node structure was affected.int getType()
INSERT_TEXT_EVENT, INSERT_FRAGMENT_EVENT, INSERT_NODE_EVENT
DELETE_TEXT_EVENT, DELETE_FRAGMENT_EVENT
|
Oxygen XML Editor 13.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||