protected class JSVGViewerFrame.Canvas.JSVGViewerDOMViewerController extends java.lang.Object implements DOMViewerController
| Modifier | Constructor and Description |
|---|---|
protected |
JSVGViewerFrame.Canvas.JSVGViewerDOMViewerController() |
| Modifier and Type | Method and 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.
|
protected JSVGViewerFrame.Canvas.JSVGViewerDOMViewerController()
public boolean canEdit()
DOMViewerControllercanEdit in interface DOMViewerControllerpublic ElementOverlayManager createSelectionManager()
DOMViewerControllercreateSelectionManager in interface DOMViewerControllerpublic org.w3c.dom.Document getDocument()
DOMViewerControllergetDocument in interface DOMViewerControllerpublic void performUpdate(java.lang.Runnable r)
DOMViewerControllerperformUpdate in interface DOMViewerControllerr - The runnable that contains the updatepublic void removeSelectionOverlay(Overlay selectionOverlay)
DOMViewerControllerremoveSelectionOverlay in interface DOMViewerControllerselectionOverlay - The given selection overlaypublic void selectNode(org.w3c.dom.Node node)
DOMViewerControllerselectNode in interface DOMViewerControllernode - The node to selectCopyright ? 2009 Apache Software Foundation. All Rights Reserved.