|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.bs.mdi.swing.TabMDIWindowManager
Alternative MDI window manager using tabs
| Field Summary | |
protected static int |
numAddedWindows
|
static int |
windowOverlapOffset
|
| Constructor Summary | |
TabMDIWindowManager()
|
|
| Method Summary | |
void |
addWindow(JComponent desktop,
DocumentWindow window)
Adds the specified window to the given desktop area. |
void |
closeWindow(TabDocumentWindow window)
|
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 |
| Field Detail |
protected static int numAddedWindows
public static final int windowOverlapOffset
| Constructor Detail |
public TabMDIWindowManager()
| Method Detail |
public JComponent createDesktopComponent()
MDIWindowManager
createDesktopComponent in interface MDIWindowManagerpublic DocumentWindow createDocumentWindow()
MDIWindowManagerMDIWindowManager.addWindow(JComponent, DocumentWindow) method.
createDocumentWindow in interface MDIWindowManagerpublic List getWindows()
MDIWindowManager
getWindows 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 SwingCommand[] getSpecialCommands()
MDIWindowManager
getSpecialCommands in interface MDIWindowManagerpublic void closeWindow(TabDocumentWindow window)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||