|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DOMViewerController
Provides the information needed for the DOMViewer to show and edit the document.
| 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. |
| Method Detail |
|---|
void performUpdate(Runnable r)
r - The runnable that contains the updateElementOverlayManager createSelectionManager()
void removeSelectionOverlay(Overlay selectionOverlay)
selectionOverlay - The given selection overlayDocument getDocument()
void selectNode(Node node)
node - The node to selectboolean canEdit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||