Class MozartFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----javax.swing.JFrame
                                           |
                                           +----MozartFrame

public class MozartFrame
extends JFrame
The main application frame. Contains all of the interface components (Desktop Manager, Desktop, Toolbar, menus, etc) that are used in the application.

View Source File


Variable Index

 o mozart

Constructor Index

 o MozartFrame(Mozart)
Initialize a new application frame.

Method Index

 o addToDesktop(JInternalFrame)
Add MozartInternalFrames to the frame.
 o close()
Pretty obvious.
 o getDesktop()
Return the desktop for this frame

Variables

 o mozart
 protected Mozart mozart

Constructors

 o MozartFrame
 public MozartFrame(Mozart mozart)
Initialize a new application frame. The constructor creates all of the menus and initializes the toolbar. It also adds all of the currently supported actions (all five of them).

Methods

 o addToDesktop
 public void addToDesktop(JInternalFrame internalFrame)
Add MozartInternalFrames to the frame. Also a good place to manage any InternalFrames (count, list, etc).

 o getDesktop
 public JDesktopPane getDesktop()
Return the desktop for this frame

 o close
 public void close()
Pretty obvious.