public interface MDIContext extends AppContext
Modifier and Type | Method and Description |
---|---|
void |
addContentPane(String title,
JComponent pane)
Add a new content pane to this frame.
|
void |
addViewListener(ViewListener listener)
Add a view listener to this frame.
|
JComponent |
getCurrentContentPane()
Get the content pane that is displayed as the current content
pane.
|
Icon |
getFrameIcon()
Get the icon that is displayed in
internal frames.
|
void |
removeContentPane(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(JComponent pane)
Set the given content pane to be displayed as the current
content pane.
|
void |
setFrameIcon(Icon icon)
Set the icon that is displayed in
internal frames.
|
getExitAction, getIconImage, getJMenuBar, getTitle, isVisible, makeComponent, setExitAction, setIconImage, setJMenuBar, setSize, setTitle, setVisible, showStatus
getContentPane, getGlassPane, getLayeredPane, getRootPane, setContentPane, setGlassPane, setLayeredPane
void addContentPane(String title, JComponent pane)
void addViewListener(ViewListener listener)
JComponent getCurrentContentPane()
Icon getFrameIcon()
void removeContentPane(JComponent pane)
void removeViewListener(ViewListener listener)
void setCurrentContentPane(JComponent pane)
void setFrameIcon(Icon icon)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.