|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.bs.mdi.swing.TraditionalMDIWindowManager
Traditional MDI window manager using JDesktopPane and JInternalFrames
| Constructor Summary | |
TraditionalMDIWindowManager()
|
|
| Method Summary | |
void |
addWindow(JComponent desktop,
DocumentWindow window)
Adds the specified window to the given desktop area. |
JComponent |
createDesktopComponent()
Creates the desktop area. |
DocumentWindow |
createDocumentWindow()
Creates a new document subwindow. |
SwingCommand[] |
getSpecialCommands()
Gets a list of special commands provided by this window manager. |
List |
getWindows()
Gets a list of all document subwindows currently managed by this windowmanager. |
void |
windowRemoved(JComponent desktop,
DocumentWindow window)
Called from within the framework to indicate that a document subwindow has been closed. |
void |
windowSelected(JComponent desktop,
DocumentWindow window)
Called from within the framework to indicate that another document window has been selected. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TraditionalMDIWindowManager()
| Method Detail |
public JComponent createDesktopComponent()
MDIWindowManager
createDesktopComponent in interface MDIWindowManagerpublic DocumentWindow createDocumentWindow()
MDIWindowManagerMDIWindowManager.addWindow(JComponent, DocumentWindow) method.
createDocumentWindow in interface MDIWindowManager
public void addWindow(JComponent desktop,
DocumentWindow window)
MDIWindowManager
addWindow in interface MDIWindowManagerdesktop - the desktop areawindow - the document subwindow
public void windowRemoved(JComponent desktop,
DocumentWindow window)
MDIWindowManager
windowRemoved in interface MDIWindowManagerdesktop - the desktop areawindow - the document window which has just been closed
public void windowSelected(JComponent desktop,
DocumentWindow window)
MDIWindowManager
windowSelected in interface MDIWindowManagerwindow - the selected windowpublic List getWindows()
MDIWindowManager
getWindows in interface MDIWindowManagerpublic SwingCommand[] getSpecialCommands()
MDIWindowManager
getSpecialCommands in interface MDIWindowManager
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||