|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.apps.svgbrowser.JSVGViewerFrame.Canvas.JSVGViewerDOMViewerController
protected class JSVGViewerFrame.Canvas.JSVGViewerDOMViewerController
JSVGViewerFrame DOMViewerController implementation.
| Constructor Summary | |
|---|---|
protected |
JSVGViewerFrame.Canvas.JSVGViewerDOMViewerController()
|
| Method Summary | |
|---|---|
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. |
Document |
getDocument()
Gets the document for the DOMViewer to show. |
void |
performUpdate(Runnable r)
Performs the document update. |
void |
removeSelectionOverlay(Overlay selectionOverlay)
Removes the given selection overlay from the canvas. |
void |
selectNode(Node node)
Selects the given node in the DOMViewer's document tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected JSVGViewerFrame.Canvas.JSVGViewerDOMViewerController()
| Method Detail |
|---|
public boolean canEdit()
DOMViewerController
canEdit in interface DOMViewerControllerpublic ElementOverlayManager createSelectionManager()
DOMViewerController
createSelectionManager in interface DOMViewerControllerpublic Document getDocument()
DOMViewerController
getDocument in interface DOMViewerControllerpublic void performUpdate(Runnable r)
DOMViewerController
performUpdate in interface DOMViewerControllerr - The runnable that contains the updatepublic void removeSelectionOverlay(Overlay selectionOverlay)
DOMViewerController
removeSelectionOverlay in interface DOMViewerControllerselectionOverlay - The given selection overlaypublic void selectNode(Node node)
DOMViewerController
selectNode in interface DOMViewerControllernode - The node to select
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||