@API(type=NOT_EXTENDABLE, src=PUBLIC) public class DocbookAuthorActionEventHandler extends DefaultAuthorActionEventHandler
AuthorActionEventHandler.AuthorActionEventType
Constructor and Description |
---|
DocbookAuthorActionEventHandler() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
areCompatibleLists(AuthorNode node1,
AuthorNode node2)
Check if two given nodes are compatible lists (i.e.
|
protected java.lang.String |
getPreferredXMLElementContent(AuthorAccess authorAccess)
Get the preferred XML element content to be inserted.
|
protected boolean |
isList(AuthorNode node)
Check if the given node is a list.
|
protected void |
promoteSubListItems(AuthorDocumentController controller,
AuthorNode theDemotedCandidate,
AuthorNode listElement)
Sometimes, when we demote a list item, we want it to become the sibling
of its children.
|
canHandleEvent, getDescription, handleEvent, isMovableListItem, promote
protected void promoteSubListItems(AuthorDocumentController controller, AuthorNode theDemotedCandidate, AuthorNode listElement) throws javax.swing.text.BadLocationException, AuthorOperationException
DefaultAuthorActionEventHandler
promoteSubListItems
in class DefaultAuthorActionEventHandler
controller
- The Author document controller.theDemotedCandidate
- The candidate which was demoted.listElement
- The parent list of the demoted item.javax.swing.text.BadLocationException
AuthorOperationException
DefaultAuthorActionEventHandler.promoteSubListItems(ro.sync.ecss.extensions.api.AuthorDocumentController, ro.sync.ecss.extensions.api.node.AuthorNode, ro.sync.ecss.extensions.api.node.AuthorNode)
protected boolean isList(AuthorNode node)
DefaultAuthorActionEventHandler
isList
in class DefaultAuthorActionEventHandler
node
- The node.true
if the node is a list.DefaultAuthorActionEventHandler.isList(ro.sync.ecss.extensions.api.node.AuthorNode)
protected boolean areCompatibleLists(AuthorNode node1, AuthorNode node2)
DefaultAuthorActionEventHandler
areCompatibleLists
in class DefaultAuthorActionEventHandler
true
if the two given nodes are compatible lists.DefaultAuthorActionEventHandler.areCompatibleLists(ro.sync.ecss.extensions.api.node.AuthorNode, ro.sync.ecss.extensions.api.node.AuthorNode)
protected java.lang.String getPreferredXMLElementContent(AuthorAccess authorAccess)
DefaultAuthorActionEventHandler
null
.getPreferredXMLElementContent
in class DefaultAuthorActionEventHandler
authorAccess
- The author access.DefaultAuthorActionEventHandler.getPreferredXMLElementContent(ro.sync.ecss.extensions.api.AuthorAccess)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.