@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface DocumentContentChangedEvent extends AuthorDocumentEvent
AuthorListener
when changes have been made
in the content of the AuthorDocument
.Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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. |
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
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
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.