JSVGViewerFrame.Canvas.JSVGViewerDOMViewerControllerpublic interface DOMViewerController
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canEdit() |
Checks whether the DOMViewer should be allowed to edit the document.
|
ElementOverlayManager |
createSelectionManager() |
Creates the ElementSelectionManager to manage the selection overlay on
the canvas.
|
org.w3c.dom.Document |
getDocument() |
Gets the document for the DOMViewer to show.
|
void |
performUpdate(java.lang.Runnable r) |
Performs the document update.
|
void |
removeSelectionOverlay(Overlay selectionOverlay) |
Removes the given selection overlay from the canvas.
|
void |
selectNode(org.w3c.dom.Node node) |
Selects the given node in the DOMViewer's document tree.
|
void performUpdate(java.lang.Runnable r)
r - The runnable that contains the updateElementOverlayManager createSelectionManager()
void removeSelectionOverlay(Overlay selectionOverlay)
selectionOverlay - The given selection overlayorg.w3c.dom.Document getDocument()
void selectNode(org.w3c.dom.Node node)
node - The node to selectboolean canEdit()
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.