@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, promoteprotected void promoteSubListItems(AuthorDocumentController controller, AuthorNode theDemotedCandidate, AuthorNode listElement) throws javax.swing.text.BadLocationException, AuthorOperationException
DefaultAuthorActionEventHandlerpromoteSubListItems in class DefaultAuthorActionEventHandlercontroller - The Author document controller.theDemotedCandidate - The candidate which was demoted.listElement - The parent list of the demoted item.javax.swing.text.BadLocationExceptionAuthorOperationExceptionDefaultAuthorActionEventHandler.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)
DefaultAuthorActionEventHandlerisList in class DefaultAuthorActionEventHandlernode - 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)
DefaultAuthorActionEventHandlerareCompatibleLists in class DefaultAuthorActionEventHandlertrue 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)
DefaultAuthorActionEventHandlernull.getPreferredXMLElementContent in class DefaultAuthorActionEventHandlerauthorAccess - The author access.DefaultAuthorActionEventHandler.getPreferredXMLElementContent(ro.sync.ecss.extensions.api.AuthorAccess)© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.