ro.sync.ecss.extensions.api
Interface DocumentContentInsertedEvent
- All Superinterfaces:
- AuthorDocumentEvent, DocumentContentChangedEvent
public interface DocumentContentInsertedEvent
- extends DocumentContentChangedEvent
Event received by an AuthorListener
when insertion have been made
in the content of the AuthorDocument
.
It can have one of the types:
DocumentContentChangedEvent.INSERT_TEXT_EVENT
DocumentContentChangedEvent.INSERT_NODE_EVENT
DocumentContentChangedEvent.INSERT_FRAGMENT_EVENT
getInsertedText
java.lang.String getInsertedText()
- Returns:
- The inserted text if it is a simple text insert,
DocumentContentChangedEvent.INSERT_TEXT_EVENT
. Null otherwise.
getInsertedNode
AuthorNode getInsertedNode()
- Returns:
- The inserted node if a node is inserted,
DocumentContentChangedEvent.INSERT_NODE_EVENT
. Null otherwise.
getInsertedFragment
AuthorDocumentFragment getInsertedFragment()
- Returns:
- The inserted fragment if a fragment was inserted,
DocumentContentChangedEvent.INSERT_FRAGMENT_EVENT
. Null otherwise.
© Copyright SyncRO Soft SRL 2002 - 2010.