|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for window managers. A window manager is an object which provides a desktop area and subwindows. It also knows how to create a new subwindow and how to embed in into the desktop area.
| 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. |
| Method Detail |
public JComponent createDesktopComponent()
public DocumentWindow createDocumentWindow()
addWindow(JComponent, DocumentWindow) method.
public void addWindow(JComponent desktop,
DocumentWindow window)
desktop - the desktop areawindow - the document subwindow
public void windowRemoved(JComponent desktop,
DocumentWindow window)
desktop - the desktop areawindow - the document window which has just been closed
public void windowSelected(JComponent desktop,
DocumentWindow window)
window - the selected windowpublic List getWindows()
public SwingCommand[] getSpecialCommands()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||