public abstract class MDIApplication extends AbstractApplication
| Constructor and Description |
|---|
MDIApplication(MDIContext context)
Create an MDI application in the given MDI context
|
| Modifier and Type | Method and Description |
|---|---|
void |
addView(View v)
Add a view to the list of views currently known by
this application.
|
abstract View |
createView(Document d)
Given a document, create a new view which displays that
document.
|
MDIContext |
getMDIContext()
Get the MDI frame -- type-specific version of
getApplicationFrame().
|
View |
getView(JComponent c)
Get the Document displayed by the given component.
|
void |
removeView(View v)
Remove a view from the list of view currently known by this
application.
|
void |
setCurrentView(View v)
Set the given document to be the current document, and raise
the internal window that corresponds to that component.
|
actions, addAction, addDocument, addDocumentListener, addMenuItem, addMenuItem, addPropertyChangeListener, addToolBarButton, addToolBarButton, addViewListener, closeDocument, closeView, documentList, getAction, getAppContext, getClipboard, getCurrentView, getDocumentFactory, getResources, getStoragePolicy, getTitle, isVisible, removeDocument, removeDocumentListener, removePropertyChangeListener, removeViewListener, setAppContext, setClipboard, setDocumentFactory, setStoragePolicy, setVisible, showError, viewList, viewListpublic MDIApplication(MDIContext context)
public void addView(View v)
AbstractApplicationaddView in interface ApplicationaddView in class AbstractApplicationpublic abstract View createView(Document d)
createView in interface ApplicationcreateView in class AbstractApplicationpublic MDIContext getMDIContext()
public View getView(JComponent c)
public void removeView(View v)
removeView in interface ApplicationremoveView in class AbstractApplicationpublic void setCurrentView(View v)
setCurrentView in interface ApplicationsetCurrentView in class AbstractApplicationCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.