|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The DocumentView class defines the methods that will be implemented by all views in jsXe that provide features for editing XML documents. This is the precursor to jsXe's view/plugin interface.
TabbedView
Method Summary | |
boolean |
close()
Closes the current view. |
DocumentBuffer |
getDocumentBuffer()
Gets the DocumentBuffer that this view is currently using. |
Component |
getDocumentViewComponent()
Gets the the Component used to render this view. |
JMenu[] |
getMenus()
Gets the menus that this view has associated with it. |
ViewPlugin |
getViewPlugin()
Gets view plugin that created this view. |
boolean |
goToLine(int lineNo)
Tells the view to attempt to move to the specified line in the document. |
void |
setDocumentBuffer(DocumentBuffer document)
Sets the current document. |
Method Detail |
public boolean close()
public Component getDocumentViewComponent()
public JMenu[] getMenus()
public ViewPlugin getViewPlugin()
public DocumentBuffer getDocumentBuffer()
public void setDocumentBuffer(DocumentBuffer document) throws IOException
document
- the new document to view
IOException
- if the document cannot be viewed using this viewpublic boolean goToLine(int lineNo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |