|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IWindowManager
A class implements IWindowManager interface is an object which is able to manage simulation windows position.
Title: JAS
Description: Java Agent-based Simulation library
Copyright (C) 2002 Michele Sonnessa
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
| Method Summary | |
|---|---|
void |
addSimWindow(ISimModel owner,
java.awt.Frame window)
Create a SimWindow object on the given window and add it to the simulation window manager |
void |
addSimWindow(ISimModel owner,
javax.swing.JInternalFrame window)
Create a SimWindow object on the given window and add it to the simulation window manager |
void |
addSimWindow(SimWindow window)
Add a SimWindow object to the simulation window manager. |
void |
disposeSimWindows()
Dispose all the simulation windows. |
SimWindow[] |
getSimWindows()
Return the SimWindow objects currently managed by the window manager. |
| Method Detail |
|---|
void addSimWindow(ISimModel owner,
java.awt.Frame window)
owner - The owner of the window.window - The frame to be managed
void addSimWindow(ISimModel owner,
javax.swing.JInternalFrame window)
owner - The owner of the window.window - The internal frame to be managedvoid addSimWindow(SimWindow window)
window - The SimWindow object containing the default position and frame to be managedvoid disposeSimWindows()
SimWindow[] getSimWindows()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||