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, viewList
public MDIApplication(MDIContext context)
public void addView(View v)
AbstractApplication
addView
in interface Application
addView
in class AbstractApplication
public abstract View createView(Document d)
createView
in interface Application
createView
in class AbstractApplication
public MDIContext getMDIContext()
public View getView(JComponent c)
public void removeView(View v)
removeView
in interface Application
removeView
in class AbstractApplication
public void setCurrentView(View v)
setCurrentView
in interface Application
setCurrentView
in class AbstractApplication
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.