| |
|
| java.lang.Object java.util.Observable org.cougaar.tools.csmart.ui.util.NamedFrame
NamedFrame | public class NamedFrame extends Observable (Code) | | Ensure that window names are unique within the CSMARTUL application.
Notify observers (generally, just the CSMARTUL application) when a window
is created or destroyed, so that it
can maintain a list of window menu items.
Do not create this object directly. Use Util.getNamedFrame() to
obtain the single NamedFrame object for the CSMARTUL application.
See Also: Util.getNamedFrame |
Inner Class :public static class Event | |
addFrame | public String addFrame(String title, JFrame frame)(Code) | | Add a frame with the specified title and notify observers.
The titles are either "common" titles as specified by the
Strings in this class, or they are the names of files from
which the graphs were read.
Returns a title which is unique (by appending a number if necessary).
Parameters: title - frame title Parameters: frame - the frame title of the frame |
removeFrame | public void removeFrame(JFrame frame)(Code) | | Remove a frame and notify observers.
Parameters: frame - the frame to remove |
|
|
|