public interface MDIContext extends AppContext
Modifier and Type | Method and Description |
---|---|
void |
addContentPane(java.lang.String title,
javax.swing.JComponent pane)
Add a new content pane to this frame.
|
void |
addViewListener(ViewListener listener)
Add a view listener to this frame.
|
javax.swing.JComponent |
getCurrentContentPane()
Get the content pane that is displayed as the current content
pane.
|
javax.swing.Icon |
getFrameIcon()
Get the icon that is displayed in
internal frames.
|
void |
removeContentPane(javax.swing.JComponent pane)
Remove the given content pane from the display and close.
|
void |
removeViewListener(ViewListener listener)
Remove a view listener from this frame.
|
void |
setCurrentContentPane(javax.swing.JComponent pane)
Set the given content pane to be displayed as the current
content pane.
|
void |
setFrameIcon(javax.swing.Icon icon)
Set the icon that is displayed in
internal frames.
|
getExitAction, getIconImage, getJMenuBar, getTitle, isVisible, makeComponent, setExitAction, setIconImage, setJMenuBar, setSize, setTitle, setVisible, showStatus
void addContentPane(java.lang.String title, javax.swing.JComponent pane)
void addViewListener(ViewListener listener)
javax.swing.JComponent getCurrentContentPane()
javax.swing.Icon getFrameIcon()
void removeContentPane(javax.swing.JComponent pane)
void removeViewListener(ViewListener listener)
void setCurrentContentPane(javax.swing.JComponent pane)
void setFrameIcon(javax.swing.Icon icon)